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

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.1.2.tar.gz (349.0 kB view details)

Uploaded Source

Built Distributions

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded CPython 3.5 Windows x86-64

cryptography-1.1.2-cp35-none-win32.whl (878.8 kB view details)

Uploaded CPython 3.5 Windows x86

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

Uploaded CPython 3.5m macOS 10.10+ x86-64

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

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4 Windows x86-64

cryptography-1.1.2-cp34-none-win32.whl (874.6 kB view details)

Uploaded CPython 3.4 Windows x86

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

Uploaded CPython 3.4m macOS 10.10+ x86-64

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

Uploaded CPython 3.4m macOS 10.6+ intel

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

Uploaded CPython 3.3 Windows x86-64

cryptography-1.1.2-cp33-none-win32.whl (874.7 kB view details)

Uploaded CPython 3.3 Windows x86

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

Uploaded CPython 3.3m macOS 10.10+ x86-64

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

Uploaded CPython 3.3m macOS 10.6+ intel

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

Uploaded CPython 2.7 Windows x86-64

cryptography-1.1.2-cp27-none-win32.whl (874.9 kB view details)

Uploaded CPython 2.7 Windows x86

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

Uploaded CPython 2.7 macOS 10.10+ intel

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

Uploaded CPython 2.7 macOS 10.6+ intel

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

Uploaded CPython 2.6 Windows x86-64

cryptography-1.1.2-cp26-none-win32.whl (875.7 kB view details)

Uploaded CPython 2.6 Windows x86

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

Uploaded CPython 2.6 macOS 10.10+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7f51459f84d670444275e615839f4542c93547a12e938a0a4906dafe5f7de153
MD5 15eeba9e31f852bac21155baa3dfbc61
BLAKE2b-256 418987b58b48121a9f0f7f75f0a2ca5c2e6dc96b434b5940c8214d1c60c618a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-pp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e518a794b8f38e8382f7f0779141813ceb4813acfd311541c0db0e189ebd78de
MD5 c0d14951b19652e4839063f69301edbf
BLAKE2b-256 a5cdc6c222c727fb64640e32924db6dcf84215d88356051e7aac36ddfaa321b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 dba180f31adbe718baa9d6cf8ab6348494b094b2b81802fff33bd50d27d13e73
MD5 bca0e5b237a83590505dab111ddac693
BLAKE2b-256 500a65bd3b083f2edaa3f49110bb5d512c2ddabd2cc56596fee07f3caab56628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp35-none-win32.whl
Algorithm Hash digest
SHA256 a5f18f6b1850a5554a57dbf662cad2512a46056e6968726a9858e780dd5b9d0a
MD5 500335570c021f5413322002159afd2a
BLAKE2b-256 61e0a3647c6fa3fe20a94dae90374c15f56a8d84ae9c19fe1ac736be190dc344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 7484ef818194141dff79475ffbbe2f77af851e2c3bbfe2e4d59123122f8a4e33
MD5 e669addc5538412aa65a72d1fe88c524
BLAKE2b-256 c97b0735452cce3c78a5a0560116d99063b1995a662b8d6a40d187d76a15f908

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ee02c1e89ee5ee950157a54ad584d737c11cf37a6eb4c0853e8cf3f27e962dc0
MD5 a3c75139daebe59618c2ee4f1a5ed185
BLAKE2b-256 25b9cc5c2424884a4f55c9fb63bcf4f5e3fcccbf9163ea44e099c1a61a74d4ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 77b4f22e1ac5d6d51e5ad1401a31b8cf60db8392adba3e7ae1125b5b61dd82f7
MD5 66adcbfa6aac81de1f13ee95f1dd443f
BLAKE2b-256 209af93d54c8929d4fbe848bfca88195c647b1c4869c1fdd3847c3588a450bdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp34-none-win32.whl
Algorithm Hash digest
SHA256 cf51ddfb5db77816a207538a660114b82e30e08003fee8499b020b8b8480dac5
MD5 800aced25aedb1f926cc59577c3e392d
BLAKE2b-256 7d0fa8ecbbc4d17b9a5f86751d13b4126b18940a8c46ea34899f1ce5d7bfe4bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 11f9ead7562a3e0013586cad339a3f7a6f5883cce1c3b4b98e1ac69dfb77a7f6
MD5 2c25b8db1e30340d8eae05c8ecc0fd79
BLAKE2b-256 dafef1de5935797c4bd2823c85ce740407a1d3ab7a44b03cb9cd87293c3ddeb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 74d8679b9e7ed1e3ecfb0ab534dc9352bbb1cf73d362c9909094c09728afa896
MD5 c1fc3eec62717b5ef9cdfffb9c8ecce0
BLAKE2b-256 22c9e5b0cff5a2467f635ee2254a573d969c345a320045a5fdc7fdbc62460916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 0d708c8d8cfded09b87c2a0ba8763ce7a663586e043e6ac42fd7831e92901cb6
MD5 ccddcca225175409f54a1cace4112903
BLAKE2b-256 34744ade0e94ad6eb9aef811521c410efcee67865a30be3c16fbcc5db7e4b66a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp33-none-win32.whl
Algorithm Hash digest
SHA256 811f9ea8955b3eabb32e04065345c3078522e6b3ee3d92f3d27d3c7cd716a633
MD5 a871790d3e83f32057735a2ceccc6e34
BLAKE2b-256 60e000277101b63aea35e380b102093a348b51bf01108cb792fa9fbd509788a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 97d846508ba50d5a269a5f3638ae1c16659b35315a1f407fa15176707da3d097
MD5 f770d7d28fccd5dda3ffadd69817fcab
BLAKE2b-256 49f2f443c8db2c31a793413bdf4bafdcfeef203e33cdc213ef04becc0f9e927b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7637ea44c2cbd4db2f2ca71cb26b663d1733391aa769f8bc836c5956295b7798
MD5 6e92a816dd7557377bfa449592995ecb
BLAKE2b-256 e969dcf99cd344c520e8c4e6c2bf569b3d6fe7258217038da92f6a11a415bfdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 20f01610aa4087f6d569d8cc20c478b81f038486275aaab1dc3c75d9502c67e0
MD5 05e0b945aa43bfd7eb34b64e51a8f2d8
BLAKE2b-256 cf8580f29cc2f4a3ec415777d92a0bca6b1badcf30d6b49d77d623c6638982c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 29d7a581c3baff04e1fbe2006a5b478d9edc7cf9a26fc8a35949247f4f650379
MD5 b6456c3ed7147cb282a5d1f8a82261cd
BLAKE2b-256 2bf2a91ddc52c7471ea581dab5660b19acef82b4cf35593e8d0730fb1e1686e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 1af403915dcb9961c30768ae651afab69282d1da5abadfa6375221ac11877503
MD5 6749f2ea08e1bb6ef3abc80faf886021
BLAKE2b-256 652be17dfc7c6e32400163227a9f91418852f2433a8ec412050931fe5813dab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp27-none-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 6a0d3c77dd4f1fe5bc65f27efb77ec8d04a388da5eb25eba0e2040c09819df4a
MD5 610ed460b2970877d26551b30744f860
BLAKE2b-256 e3e6329534379e55cb119611286ffd1f6c573db9f273c506256997ae7218958d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 ce384da38959965ba1f7454a25f569ef7ef2ab145df2e7a29a5e294b74e04677
MD5 5993becece7deb9b7fbcb40c70ed8d99
BLAKE2b-256 a23bb85e977c651c5ef023a2b007f80f9eed22c4995101c1383c93b076552188

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp26-none-win32.whl
Algorithm Hash digest
SHA256 0755f6684e11852005b36313761edcb5ba843a64cd022ce1ac2dcbd49a93606d
MD5 5948385ed4cc7dafe1addb1b1cb231bc
BLAKE2b-256 c39600d90461df3751dca0393c7520bfc70b1955adf6638b1eae5b23ee4ebc05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.1.2-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 d54fe1b33ac1e09f1c123e2f974f78f33e95d61d4f4802dd21220a5c3e8c117d
MD5 48b98366b40037f99b8b15edb6fec123
BLAKE2b-256 da318be70a33062bece1db7fa813e48c7bf441d59508fbcae53a61f8ed93df10

See more details on using hashes here.

Supported by

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