Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

Latest Version Latest Docs https://travis-ci.org/pyca/cryptography.svg?branch=master https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master

cryptography is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your “cryptographic standard library”. It supports Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.

cryptography includes both high level recipes, and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions. For example, to encrypt something with cryptography’s high level symmetric encryption recipe:

>>> from cryptography.fernet import Fernet
>>> # Put this somewhere safe!
>>> key = Fernet.generate_key()
>>> f = Fernet(key)
>>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
>>> token
'...'
>>> f.decrypt(token)
'A really secret message. Not for prying eyes.'

You can find more information in the documentation.

Discussion

If you run into bugs, you can file them in our issue tracker.

We maintain a cryptography-dev mailing list for development discussion.

You can also join #cryptography-dev on Freenode to ask questions or get involved.

Project details


Release history Release notifications | RSS feed

This version

1.2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptography-1.2.1.tar.gz (372.8 kB view details)

Uploaded Source

Built Distributions

cryptography-1.2.1-pp27-none-macosx_10_10_x86_64.whl (1.2 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-1.2.1-cp35-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5 Windows x86-64

cryptography-1.2.1-cp35-none-win32.whl (886.3 kB view details)

Uploaded CPython 3.5 Windows x86

cryptography-1.2.1-cp35-cp35m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

cryptography-1.2.1-cp35-cp35m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.5m macOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.1-cp34-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4 Windows x86-64

cryptography-1.2.1-cp34-none-win32.whl (881.4 kB view details)

Uploaded CPython 3.4 Windows x86

cryptography-1.2.1-cp34-cp34m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

cryptography-1.2.1-cp34-cp34m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.4m macOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.1-cp33-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.3 Windows x86-64

cryptography-1.2.1-cp33-none-win32.whl (881.4 kB view details)

Uploaded CPython 3.3 Windows x86

cryptography-1.2.1-cp33-cp33m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.3m macOS 10.10+ x86-64

cryptography-1.2.1-cp33-cp33m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.3m macOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.1-cp27-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7 Windows x86-64

cryptography-1.2.1-cp27-none-win32.whl (881.6 kB view details)

Uploaded CPython 2.7 Windows x86

cryptography-1.2.1-cp27-none-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.7 macOS 10.10+ Intel (x86-64, i386)

cryptography-1.2.1-cp27-none-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 2.7 macOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.1-cp26-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.6 Windows x86-64

cryptography-1.2.1-cp26-none-win32.whl (882.3 kB view details)

Uploaded CPython 2.6 Windows x86

cryptography-1.2.1-cp26-none-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.6 macOS 10.10+ Intel (x86-64, i386)

File details

Details for the file cryptography-1.2.1.tar.gz.

File metadata

File hashes

Hashes for cryptography-1.2.1.tar.gz
Algorithm Hash digest
SHA256 a13217a03a47e743d26edff7299e4be7358c2fd12a223ac5d6de3229690b6ee5
MD5 02798acc5e2d5dbcf6e792a24fc05b95
BLAKE2b-256 f11078106f35988fa57b1ae52c1b0750e220b55a9077013bab7a87ccfe7ed685

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-pp27-none-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-pp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 731faa75ebb733392106939094115eddb0c4de3207fd18ade74d8682fdc53b07
MD5 fd75985b072fd9840a84d4efa755dfd9
BLAKE2b-256 ba207d4d58d4195ae14fc63d833c9f0e2ac4ecbf42934d0f3108a4b844838289

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd3a92726d8e66683f7d1cafe330ca721c5330413117c4067894b8bdab13ea64
MD5 e7d9e57b6defabf342f31d40d732296f
BLAKE2b-256 cac273264adee7e9ed0064faa2fa6722fd1bc7684f64090ca17b3f961a2bc582

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp35-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp35-none-win32.whl
Algorithm Hash digest
SHA256 5f37beaf87fcdf8897c8c2c2da21640086efc0a7c78df5a4d8c171c33865b0b6
MD5 89b35f3716b426bde221547c9463ed57
BLAKE2b-256 937f12217ba928d0372b2138475d5ad1c349956de121c48dd031702d880cff71

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp35-cp35m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 376f5622fc96261258f2e494f69ce174dd3ebe45a7ce6c711e7e814064f21103
MD5 a0e863e6017ae1335a73c40a7469a7f1
BLAKE2b-256 90371470b977a26906342f7df4390ed4358eae860f9751e4edbcbe4c7486c5ac

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 393d3b26c3573c3b6f9ee1bed92a69f2b3f7cf8578f4807b48b79c03794dda82
MD5 e2789bec42b2f786b3a492644224bb37
BLAKE2b-256 2e42e5d7f4fdc1d7d1f67886f6cf739cc80d9299ae574d7946af26c6d60407f9

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 7fdc51fa7d55951efc9919d1824ec26d225d22f70d7ae83c282e757ae60e3b5f
MD5 29468ce7a5172dad5e4d58f39970ef78
BLAKE2b-256 c4352c7b20e72dcad269970ae626c8156abf8df8d7e1000d862b4807821f230e

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp34-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp34-none-win32.whl
Algorithm Hash digest
SHA256 e282a2500bc141ea7bdef32207cfe09bf9c93619fafffec2fd6f295dd6f21c52
MD5 e907bff0bcbe9782fc9133aca418732d
BLAKE2b-256 123e11c0164e79820e64977466ad6b7e218a4736733914bdc6c5c8f71aa78fbc

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp34-cp34m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 74e02ac0c1143fa8ebdcad0d20e66dc0f8a33ea6a42b70b94048f3c93b93950e
MD5 747919e00b4590a4b68c036f096349da
BLAKE2b-256 9afe95e2145bcb768f6e41fe3cf06af5750bdce37bf8cdfbcd31beab9e2a60d9

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 911ac6a54b12d7cca03f41f636197c276e056cc99e11da188dd8bc866e3a60f0
MD5 87268ae13df2a8c4468d222e6f491b5c
BLAKE2b-256 f97e4adb9bbfc8bad4fed65bfe96845c63a1aa4f6c58e6752c9f788fbc1a7919

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 4325b1578b56aa76c29dd08bfd9533691ae900a63c4bb46537e7b79519b45331
MD5 251275957435fe6f1aef863e5dda1e61
BLAKE2b-256 5832cfd0108888f4fe73351409bbd879698b52f08c0cedaa42f742dff335fcbf

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp33-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 6d1ee0cb36d85303f31d309e8d527b7f00c31cccd901ef8fe92788bd7da7c78a
MD5 b4c1c09056d9681b84dd76ee44b765b4
BLAKE2b-256 60f40930ae9c86498560e0079f5fb3d800ce15aa425f40097fcfa8fde63264fd

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp33-cp33m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 117d49c19e54310d85f1c24234f0baaf56d68da36337606268f8738e8ce19426
MD5 af16b4374d101a72202706e626fc5821
BLAKE2b-256 700a34d48c3be8f5613780776e7bb887e7165e27e7d082e8126080cf35a778ec

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp33-cp33m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 1bc03ff5b27b2f1602ab1fd77e73bd5a5e830882b336d99e3854db61f404a0a2
MD5 5516296900e7f56abe99ae72bcc15487
BLAKE2b-256 2b36fb84282f4eed9fffbfd5b7fd351aa8379973ddae291bde56d06e05a4618f

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 b39960aa8a14e5211077312a5c2956835648bb03180bae174e173ceafd236f42
MD5 aacbd3b9b16a36ba094dc17321458bec
BLAKE2b-256 b270f384617d6338c1d1338707423b0895264398ffb650c1db645f977f221c70

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp27-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 c1dab836c17d4293c1c45544575c926948e5c29d5ca20eac17e977875b2527d5
MD5 b002e17465bc21b23cb62ddace848ba6
BLAKE2b-256 411fec63b537d8bb0f7f489216ce0fa86d21d49530ceed99e37523165ff86892

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp27-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 67023ca5a4b7be79357a2e0b6f4fbd27f98a1f62094d5ab0b4f78cb0512a1691
MD5 5a9de9d56f7811b9c4a7295e0af8d937
BLAKE2b-256 e95f8a8684fcb918ba7a7b41946a2093a4bb276b31aa3d861112b0dd867264f6

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp27-none-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp27-none-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 48640b1ec6f61690c1da79b645a7cb287989fdca7ed926020346edb141dee469
MD5 23fdc1ad0c86e37997f72c89f1ceb5d8
BLAKE2b-256 eb59556b5e6b456bfbc23bb2203f8d04cbac454ec3db6d805b3f001cf0ca3439

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp26-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 3892b6c6c4e1c45d2ff88f88dec4be56d43859b290de4d11a392ec7b9bce3581
MD5 6c0d9f0b4b5296136bf2284fab3bcbe5
BLAKE2b-256 604dd951681e43dd68ef105d7d1227d8a937697c05f5e32a48088489bb711328

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp26-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp26-none-win32.whl
Algorithm Hash digest
SHA256 f575dce0cf050c84952f3d11974848e24f34a524f2a4a19d7e3295e5dcbab563
MD5 e2f0c9032895dc0b2ffa8b4ad1237e53
BLAKE2b-256 a76d78214e2445fbbe5ada5ff95f961af2389024c153e871c7cbfb27f163bfc0

See more details on using hashes here.

File details

Details for the file cryptography-1.2.1-cp26-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.1-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 b5f857016dc105a0187aff946114de545dd31b2f17fdcf9c787f3d9641f9875b
MD5 b6a66afc72fe5e7f268ba389bfbe2cf0
BLAKE2b-256 51edba56f11ec51f7b48610b0e9cb7294b4539f7bb76f6d5917bc606415d14a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page