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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

cryptography-2.0.1-cp36-cp36m-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.6m

cryptography-2.0.1-cp36-cp36m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.6+ intel

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

cryptography-2.0.1-cp35-cp35m-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.5m

cryptography-2.0.1-cp35-cp35m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

cryptography-2.0.1-cp34-cp34m-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.4m

cryptography-2.0.1-cp34-cp34m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.6+ intel

cryptography-2.0.1-cp27-cp27mu-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 2.7mu

cryptography-2.0.1-cp27-cp27mu-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

cryptography-2.0.1-cp27-cp27m-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 2.7m

cryptography-2.0.1-cp27-cp27m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m macOS 10.6+ intel

cryptography-2.0.1-cp26-cp26mu-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 2.6mu

cryptography-2.0.1-cp26-cp26mu-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.6mu

cryptography-2.0.1-cp26-cp26m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.6m Windows x86-64

cryptography-2.0.1-cp26-cp26m-win32.whl (1.1 MB view details)

Uploaded CPython 2.6m Windows x86

cryptography-2.0.1-cp26-cp26m-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 2.6m

cryptography-2.0.1-cp26-cp26m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.6m

cryptography-2.0.1-cp26-cp26m-macosx_10_12_intel.whl (1.8 MB view details)

Uploaded CPython 2.6m macOS 10.12+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1.tar.gz
Algorithm Hash digest
SHA256 fa0a2cab7881b8e57c585145b11733f416a96e306fceb2869afc23b25dea8a17
MD5 bb504ce904d51f4049c2826f5a91974c
BLAKE2b-256 86339b37d632ea4f7430a623faa6b39ced0dbf199f4dcf7c19fdc53bce6a7fc6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4d6fc6fdf3c045df4334428ac18e0f4318ef853daaf29dd1787fbcee41ee5c61
MD5 2295bd61248ae8321e4ac80f3f0e55ab
BLAKE2b-256 4db84dc5d1509db94902cde5d72ea128496f50ae8572829cf14f974628e6388e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 5569e1116b783de6fc49c262340f1f0817cf281623de2e930f94a2a7bc5155e2
MD5 558e12cd9593825f275723e7828d1351
BLAKE2b-256 ef0eaf0957ba81843fb9faf2af2521217531b19b887339183f2a9776bf7cc39d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2dcea9d0023ee4fbea56b85d47823a886e0fd29a9135f3c32ff41e5989154f10
MD5 b9650ec6c4c4d5901fd63c7079195684
BLAKE2b-256 fbe7e3e1c22feb199b8d01ebde80e4c5eb4daaa6dd89b5d600813f1d78b16dec

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0de36333afcba78b5b3fd32aeb10afa97ea95a3f52f68f67db2ca4a1af046fd7
MD5 2379f2988cd510db38b8a269627ce0ec
BLAKE2b-256 61f7e8364691c381ea6e40e8e75ba8c0ea49d70a17b8b89a5af89d400bf39414

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 79c26656a536339325d1b8eff7882aeac54f552f154addcf0e93d47f41d60cf1
MD5 4fc7ad8ae87bc72e521a9da1a3fb1cf0
BLAKE2b-256 0388f7eb544f45f45510141db6eb9178a3bb653f5155f19693beb49965d1a9ba

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 3355115ebaee57a5d90d8878235d98cb0b1851527d2b9ff19a4e4ae6528e8c72
MD5 0367e78c00bec726c75a50db35dd8295
BLAKE2b-256 81f02cde10586a27e6529180a9ebfecacac746276117063f828c72e4d752dc7d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 c616eeab85bca6d7e103daa8d7aa13c7def06bebd992ad67c981449a362ec5b6
MD5 c87f0663da8ea4576375371fa015e7d3
BLAKE2b-256 8c59917241292eaaf75d78d77d2c53bcbf0986432f29e993e55693bd6c7237b9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e8b4d6bd7b977ada0e0fa5e0dc44dc43a05196cefd3cd6499216e5a4f967b267
MD5 a9bd4a20ba33f93edd061a83ba2f17ee
BLAKE2b-256 ff49df1329c21b19767ff802293d5b83f81f8adac69abe3bcadac35655c715b6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 82bfb0f37c48d559bc49648abfbe5f20a2c0b0e8da1f3cb695af06b5b18ad0bf
MD5 2e89b83f2649c940da7d2c61c2473376
BLAKE2b-256 6678c6808cb3fc50ac4f37918541fdf848a46f06028455436acd4f8f532d6905

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 857e62e78cbe3b181e53afce8e8a83059010cde7ae62248607bebbe8e0aeef00
MD5 9c2f012a9b6e2fbe9131de26002afee0
BLAKE2b-256 89d2c854962fb953b2f3b583d2f7c2b790a3113822f4a323561267a03e2b0abb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 c964303d1bb2894b6ff565b2df49268cbec98e9b142bf2b39d8a850724575bf4
MD5 658b398558e7b96477fec582cd3974d3
BLAKE2b-256 62258ce2ba6dbb14c43396a7ef1589f3de99f5d083574b6ff7814218d935ee9e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 c205fdfc11b73fe63799462ee4505480d5274783e0c8bce93a635b78ed35ea79
MD5 d19af980ed68c2a1b49748fd5d9e6cb4
BLAKE2b-256 5f7e4c9c71e287e46a8640626713067e5e979713d2ea94849bfecc78a99e56f1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b4606607c77a1b61b90cac1b861999d130ad9fa24f23247188f0f49dfe92058c
MD5 15d3fd708251203080389dfd4457d459
BLAKE2b-256 4c752c19596ad8be4b58ad7ba648cea6e7a693e6b97b1d5a977edac363ad9676

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4f0e82f58493e76358d8ae2b464e620832eb08edef6b586d6f95457bfc3174d6
MD5 f17fbc6541049a93b4df6b9a4418b3ec
BLAKE2b-256 887d8bce232074af394802cfad31ab05391ea4eac89c5fc4d0bca131147aa902

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0a0ca968d6c12589ca330d26981093d039d634295122319dc88aa9baf4b08307
MD5 5b7d61b53c57804b6af7bd9ac341c705
BLAKE2b-256 474d82da82711992977f4eec7d0f94b0ed02745a2000b7390e8b6e22cb47851c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 306680328364557bd3b04eaa0fc1c1445dd7da207f07be610ac3b7037b2aa6c4
MD5 e4ef929abd4babe705323a8a76856820
BLAKE2b-256 ff53d26d2ad9e7c497b85e9e8e9dd54a701e2f66c7719a7b2ff347787c4f5b91

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b55f4dc2984bf5e9dc1ed7c28e5ee100fe0e59a526bc6f5c63bfdf7a06dada36
MD5 a9837f190ca183bbca342042329b1a70
BLAKE2b-256 8721b4125946a441ae35707299aaed920e2c25207f4fa3b16ff4597608b69ed1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 8fa9f0ea41b336647048a2021478a94c7d35f1dd7a571688f5865c5b32ebe8e3
MD5 bf589e0b849c3887a089ba1036387b63
BLAKE2b-256 c6b1ee5fd919609d7d933f9e2b6c583130dff759bcb3777e77394c5e94942b11

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 219150871002fae50930f18e48126fd862df01eedef52861440ec15334e12178
MD5 8ac47acbf5d9d2e7f7013dc0eabb9b40
BLAKE2b-256 49aab58f2fa16f0ed4c990d5e799dfcee4a4846cc180585532ff6a1fce055edf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 83389c1da002ac7f350729972da88614cb074969d03014b932b522c14f5569c7
MD5 b1033af0f2f9ab2fba45c93cc8d478e9
BLAKE2b-256 87e8fc08be404230ed02cce50c13169cdd8a247fbb0a12eaa17c6221a5441802

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8a2aa5291f8c95d4b521c2b10a6a53e378983f81fb4193e0326f1d2183e0ecdb
MD5 ab66be951c1d48ebdf393f76b4ee7b74
BLAKE2b-256 feef437b177ab1f9c15b2aad11b56ac48fad9798d41d6a0452d5d078faf32ed2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e37ee11d285b2b82c74b77c2cfbdcb3e9b93448e019d73cd4f76ec9a44cec0cd
MD5 b2863b4c35b21fa26d6f14012bb0468b
BLAKE2b-256 6acbab41ada21721bcdb8c13f281aea5c8b3620c71f25d9624eba0988f3276b1

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f27183a58c5097f258edd08a0bacf0398d20b51a0f8b4cc2e49044303d5cf7b8
MD5 e06780e6e490a6d6b76d143c07402a6b
BLAKE2b-256 3ee14b6731090ed3e1b59bf12ad38602131c9d66c606f154943fac98b8ecfe28

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c6a22baf374e8ab03f469437f0559900efd0f99d92789bf9b038ba74e7f312e2
MD5 ca39de5793a27b261f8ae6abeca7e5bc
BLAKE2b-256 300ebb33a4b6c7a7dc61e1dbcc7fa91d62965ac8ef2348981c1483c2be7aa03d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26m-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26m-win_amd64.whl
Algorithm Hash digest
SHA256 3f0b6802cae908ca42beb56d3aff51cc1908f352c793029cea79356461b61c8b
MD5 ea41224027b9a0838faa84bc0e1f2f3f
BLAKE2b-256 51355a5e8fc4a877c800156d7819a27cd681639ab4423dbd6f602dc9e26b7201

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26m-win32.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26m-win32.whl
Algorithm Hash digest
SHA256 93933366efa8dbf0f245750411ec2b92f38bf7659d822b61942275ff6c6a8d70
MD5 0f3796ae7a14ebd2231cc8b8e57d9f2b
BLAKE2b-256 fb40e7fe6d7f62cdb2e4f0b35863ffac3295876ed193f4f19b2d68765584a075

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 04a92762c3be5da5e8e925fe5bb6d92951378a670356882cb8e21c0b37566d41
MD5 5baa6cae53bee6f4b10606971ca19f91
BLAKE2b-256 b4051fd15a1d02602d62193133c02cbccff4e16fdd2fcfc77f1232e4e8e5977c

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6851120b071c0a3bb53ea34948e90c8c7286151a417a35ab91329250c4bbefe1
MD5 bb43952d39400b98bf12b7f6f492d518
BLAKE2b-256 82274d57f1b722deb325ae78d0b6da0e331a3e63330e38c0d67643d390394e9d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.0.1-cp26-cp26m-macosx_10_12_intel.whl.

File metadata

File hashes

Hashes for cryptography-2.0.1-cp26-cp26m-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 44d6a4ea55371cdb7fb3cb70ff26a2ed31139653aa0224118fcac0164017fa0b
MD5 2b2d86836423222e25daf47591153319
BLAKE2b-256 6533635f38ccca2589f029878a968ff53b07a8cdf117773cf57ef009ce5815c2

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