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.4+, and PyPy 5.3+.

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.

You can install cryptography with:

$ pip install cryptography

For full details see the installation 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-2.1.4.tar.gz (441.6 kB view details)

Uploaded Source

Built Distributions

cryptography-2.1.4-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

cryptography-2.1.4-cp36-cp36m-win32.whl (1.1 MB view details)

Uploaded CPython 3.6m Windows x86

cryptography-2.1.4-cp36-cp36m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.6m

cryptography-2.1.4-cp36-cp36m-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.6m

cryptography-2.1.4-cp36-cp36m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

cryptography-2.1.4-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5m Windows x86-64

cryptography-2.1.4-cp35-cp35m-win32.whl (1.1 MB view details)

Uploaded CPython 3.5m Windows x86

cryptography-2.1.4-cp35-cp35m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.5m

cryptography-2.1.4-cp35-cp35m-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.5m

cryptography-2.1.4-cp35-cp35m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

cryptography-2.1.4-cp34-cp34m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4m Windows x86-64

cryptography-2.1.4-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86

cryptography-2.1.4-cp34-cp34m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.4m

cryptography-2.1.4-cp34-cp34m-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.4m

cryptography-2.1.4-cp34-cp34m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.4m macOS 10.6+ intel

cryptography-2.1.4-cp27-cp27mu-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.7mu

cryptography-2.1.4-cp27-cp27mu-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 2.7mu

cryptography-2.1.4-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7m Windows x86-64

cryptography-2.1.4-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86

cryptography-2.1.4-cp27-cp27m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.7m

cryptography-2.1.4-cp27-cp27m-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 2.7m

cryptography-2.1.4-cp27-cp27m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.4.tar.gz
Algorithm Hash digest
SHA256 e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291
MD5 9f39d4d8f2b05f295fa0ff52475ec4f2
BLAKE2b-256 78c57188f15a92413096c93053d5304718e1f6ba88b818357d05d19250ebff85

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8487524a1212223ca6dc7e2c8913024618f7ff29855c98869088e3818d5f6733
MD5 6f85502fc56293ab17afe2540d54d31f
BLAKE2b-256 835d87826c818f2a00e1c36e2bb4680bac68198501ba88d6fe56650aac4b314c

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a3c180d12ffb1d8ee5b33a514a5bcb2a9cc06cc89aa74038015591170c82f55d
MD5 5fddd90a00e9e9c915f47bae31c33cf6
BLAKE2b-256 7d79f023ffc67db871129b2a70602893d0d6b4c7e5e41fc268690d1cfb096390

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 28e4e9a97713aa47b5ef9c5003def2eb58aec89781ef3ef82b1c2916a8b0639b
MD5 5735f5cb78e03a34494b036d40aa2a03
BLAKE2b-256 4ee04959b48f04c879414972048fe2bedc96825e39c5413ae241c230fba58783

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 27a208b9600166976182351174948e128818e7fc95cbdba18143f3106a211546
MD5 0fe26e80a08cb7ea87883bafc43239e5
BLAKE2b-256 afb318c7cdacc654a7c94a419965059b08f5fa11496b3f295697e8ae0866b40d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b984523d28737e373c7c35c8b6db6001537609d47534892de189bebebaa42a47
MD5 a88bdfbb75f9fad493600d511cfaca71
BLAKE2b-256 692826634e6538c509bab28dcae6899a3a26659ed539c9f52b96cafc4e049739

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 d18df9cf3f3212df28d445ea82ce702c4d7a35817ef7a38ee38879ffa8f7e857
MD5 69ce8a669766dcedb27aa286d9047835
BLAKE2b-256 37b13599f325a94a5c16e8554180bfd26cb499362ebb90f26a59ea8522521760

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 18d0b0fc21f39b35ea469a82584f55eeecec1f65a92d85af712c425bdef627b3
MD5 866e0496aafdcc5b1cf5c9fc0f83d865
BLAKE2b-256 2c86a5e4535fa47339fcb690e95e04529446aebf11026368ea270e6f2865de77

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 33b564196dcd563e309a0b07444e31611368afe3a3822160c046f5e4c3b5cdd7
MD5 4592306031627fbdf1dcda4e5447e37f
BLAKE2b-256 154ec0a0641dc0b4bba7c1dfcf66e30ef34effe7f7dc20a37459e9e052afc4cf

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2cfcee8829c5dec55597826d52c26bc26e7ce39adb4771584459d0636b0b7108
MD5 4a16e8b34f90439b0eafef1e961b2609
BLAKE2b-256 e3f24f6132f96d2006833bfc763099a04fdea66257f1a95c0652d26b74fc6b37

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.4-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 9a2945efcff84830c8e237ab037d0269380d75d400a89cc9e5628e52647e21be
MD5 1a8362b3b353805bd672f69d43c39bac
BLAKE2b-256 90f0c49ad91191a7523fd118dd8783575778645a860e6b9b4ce07670089cb2ff

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 ee245f185fae723133511e2450be08a66c2eebb53ad27c0c19b228029f4748a5
MD5 f60232ce019d63fdc3547b25a867c8cf
BLAKE2b-256 41d0279443c709e8d1a05e1ecb680340ed04284a5c7f8ef74a87f880cd1e0b93

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 6fb22f63e17813f3d1d8e30dd1e249e2c34233ba1d3de977fd31cb5db764c7d0
MD5 821a941f304e4aada919822fcaa4930e
BLAKE2b-256 4513724dc11da94ab6ed05b9b5ee732acc30a0dc59d0a9828b06d3d3d571f9b7

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9a47a80f65f4feaaf8415a40c339806c7d7d867152ddccc6ca87f707c8b7b565
MD5 77eac1cea8a31de9849ba5a7c97012b3
BLAKE2b-256 d6e1c093d1cb141d2a521d40414e12fe2e6c2c52e52e0b799364ba1873ea2a84

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 55555d784cfdf9033e81f044c0df04babed2aa141213765d960d233b0139e353
MD5 a765b9f3c205bc9fc0432fbe0d0e0972
BLAKE2b-256 d49dab18d9e1973b631ca22a828067a97f0761ad4f8a50b1921b247dc75e23e6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.1.4-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7a2409f1564c84bcf2563d379c9b6148c5bc6b0ae46e109f6a7b4bebadf551df
MD5 f470ed31c378c89a3571c2be4c1230d0
BLAKE2b-256 fa2b32a7d50953ed92e09790c91f9b7d9cc370d891261336891d7be74eba5391

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fc2208d95d9ecc8032f5e38330d5ace2e3b0b998e42b08c30c35b2ab3a4a3bc8
MD5 a552067be0b7abe869f5c421f6f0e934
BLAKE2b-256 697b05067e7c4d1a287c0be040e46ef70b8dfd7a809af8afcfbcc1b60e801ebc

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a5f2c681fd040ed648513939a1dd2242af19bd5e9e79e53b6dcfa33bdae61217
MD5 21c200af5bcb2ece5e892caeb4444d4b
BLAKE2b-256 9022ee4c8039c8295e520fdf870c2b771de69152896b2363e7adae08e22d7c65

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 41f94194ae78f83fd94ca94fb8ad65f92210a76a2421169ffa5c33c3ec7605f4
MD5 061abeb6e0df04f49d00983b93b5c495
BLAKE2b-256 c5de727d8e43224301bc975381e6971ce1fec1d017c25b9441a1e934906a1390

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 0d39a93cf25edeae1f796bbc5960e587f34513a852564f6345ea4491a86c5997
MD5 0f0a959be72586e76ce0b6f1135918fa
BLAKE2b-256 170804dc376411968ac21f2e11a8d7d70e936a654172567672fa79710a137bd9

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4f385ee7d39ee1ed74f1d6b1da03d0734ea82855a7b28a9e6e88c4091bc58664
MD5 f8334dd8504135a57bcf6efee17b1b55
BLAKE2b-256 7075472aa5db08ba5edc6f0aba20167ce3cfa239fb2465bfeb6c885731018b70

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6cb1224da391fa90f1be524eafb375b62baf8d3df9690b32e8cc475ccfccee5e
MD5 04a07589fdb65f40524af645f8c1a5a7
BLAKE2b-256 50202557ce9f5a5ecfdc46ac456ad1ab084f7d4445c32e598b6d980291a50d87

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.1.4-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-2.1.4-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 69285f5615507b6625f89ea1048addd1d9218585fb886eb90bdebb1d2b2d26f5
MD5 60d69330382f68c49b7c0a6a022accb6
BLAKE2b-256 a43d2a7557a5f75007f1378813a60643fe76c38ec94b7a26c867935e3d55f7d2

See more details on using hashes here.

Provenance

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