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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

cryptography-2.0.2-cp36-cp36m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.6+ intel

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

cryptography-2.0.2-cp35-cp35m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.6+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

cryptography-2.0.2-cp34-cp34m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.6+ intel

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

Uploaded CPython 2.7mu

cryptography-2.0.2-cp27-cp27mu-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

cryptography-2.0.2-cp27-cp27m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m macOS 10.6+ intel

cryptography-2.0.2-cp26-cp26mu-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.6mu

cryptography-2.0.2-cp26-cp26mu-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.6mu

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

Uploaded CPython 2.6m Windows x86-64

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

Uploaded CPython 2.6m Windows x86

cryptography-2.0.2-cp26-cp26m-manylinux1_x86_64.whl (2.2 MB view details)

Uploaded CPython 2.6m

cryptography-2.0.2-cp26-cp26m-manylinux1_i686.whl (1.8 MB view details)

Uploaded CPython 2.6m

cryptography-2.0.2-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.2.tar.gz.

File metadata

File hashes

Hashes for cryptography-2.0.2.tar.gz
Algorithm Hash digest
SHA256 3780b2663ee7ebb37cb83263326e3cd7f8b2ea439c448539d4b87de12c8d06ab
MD5 170fd846e78a4603febf40d55b605301
BLAKE2b-256 0a23ffee389a45f752dc745706cdb2d354b91ddb71594506fac45236cf67af49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 d46f4e5d455cb5563685c52ef212696f0a6cc1ea627603218eabbd8a095291d8
MD5 9ec9057719e6be5911def5efb54d41b5
BLAKE2b-256 04507ce5bf63ecd262c43a5606688cde11133f504a889a61b7c561f16b99e8b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 01e6e60654df64cca53733cda39446d67100c819c181d403afb120e0d2a71e1b
MD5 32de2835c2f2b049ad115d174307f7ca
BLAKE2b-256 5fbb415c2eddbbdc913c02989677e462a7adb2023dad3e294b98882c55cd5e78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0ebc2be053c9a03a2f3e20a466e87bf12a51586b3c79bd2a22171b073a805346
MD5 3c9133c3ed0697b02480fc3bcb645264
BLAKE2b-256 d91c299fc042685c288ace5d8c0a98474ff8d2e0b95e747eb89be3f93571ef3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 655f3c474067f1e277430f23cc0549f0b1dc99b82aec6e53f80b9b2db7f76f11
MD5 f3477c8d22cd432ae6f8a28412771ef6
BLAKE2b-256 cc9bcbbf7793a5b96bd1ef17f476192fd8b077d7a35ccd36e5ce7b86960e41eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 fe859e445abc9ba9e97950ddafb904e23234c4ecb76b0fae6c86e80592ce464a
MD5 c5d69e606269ef1afb7f414bc472d98f
BLAKE2b-256 bd4622494b025d966636a85c5e1ac7191adbd89aa969247cd5ec229a38c4392a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 59cff28af8cce96cb7e94a459726e1d88f6f5fa75097f9dcbebd99118d64ea4c
MD5 4061fe01cef6515e6a60a9aa119f9869
BLAKE2b-256 237d773ee9b14b9e58f4342a29dfd8cd3fbe9891d1853fd693e8ddc4b61e51b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b798b22fa7e92b439547323b8b719d217f1e1b7677585cfeeedf3b55c70bb7fb
MD5 c63b8b32a975c05a49af99f02cb8dad6
BLAKE2b-256 d12f0f308884999da145cca12835c92ad2c8103fadccb8632477049ed13e0e38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ba22e8eefabdd7aca37d0c0c00d2274000d2cebb5cce9e5a710cb55bf8797b31
MD5 538207e88fdfca25a81d278ab09fedee
BLAKE2b-256 7ce8645072816739ed4a88a94b5076a1208057fcb0c01aab35e5df672c6a550f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5af84d23bdb86b5e90aca263df1424b43f1748480bfcde3ac2a3cbe622612468
MD5 e9c0362c504ce4421668f819a501a345
BLAKE2b-256 7c3a9f8907673b394d777d948e57af2ce29d771d9ba4e63e15a2ebe9fd883128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 670a58c0d75cb0e78e73dd003bd96d4440bbb1f2bc041dcf7b81767ca4fb0ce9
MD5 bd7551f4a4f31d4268bd64ed7e78354d
BLAKE2b-256 2129f67f046f441be43a58e728c75662c71514ddc1932df22de461cefa379eb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 b3d3b3ecba1fe1bdb6f180770a137f877c8f07571f7b2934bb269475bcf0e5e8
MD5 c4d13c2dafb72d836d58ffe86b678a42
BLAKE2b-256 0b54811de37a4fdd335b20128140e41d7869dc6af4e0f2fc38802b96f1fc0f8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 2b9442f8b4c3d575f6cc3db0e856034e0f5a9d55ecd636f52d8c496795b26952
MD5 b9b05277ee1c15a49e7887fc4e17fc7b
BLAKE2b-256 f94e8a301b4749820363e1ce961c371a55473dee29a17e5592607399eabe64fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 04b6ea99daa2a8460728794213d76d45ad58ea247dc7e7ff148d7dd726e87863
MD5 f38bcdd9ab9ff7475f6d76788c9508cb
BLAKE2b-256 57ab2d4b8d85711079d1de2311fe27c5037ff2a685bb9050bcfe4aae41ec49f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ac35435974b2e27cd4520f29c191d7da36f4189aa3264e52c4c6c6d089ab6142
MD5 52899c572c3deb8913a29e7c7f9964fe
BLAKE2b-256 99bd0f4a740e319669b74b9c7ee367e54fdb5f291c0eeaa6977f52e722b94606

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 131f61de82ef28f3e20beb4bfc24f9692d28cecfd704e20e6c7f070f7793013a
MD5 f2efc97d2ad10a85357d9a0ce838f7d8
BLAKE2b-256 4cc732f259eaa4d94d7c30747a2f6991fadb10d13f4afe58cc0809efab6cff3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eb8bb79d0ab00c931c8333b745f06fec481a51c52d70acd4ee95d6093ba5c386
MD5 a53630eef70e6cab43a0186ddce04e85
BLAKE2b-256 b2c3713d3a0c964acd704ee2b8521f51706aa8053fc5addbcd43cb03d74819e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 77197a2d525e761cdd4c771180b4bd0d80703654c6385e4311cbbbe2beb56fa1
MD5 d146526c7822f169e6e1476f60439108
BLAKE2b-256 604a9abd40ef0686e895d3cbfbdf2bdc797c69861655acf58ec57a6d9af53944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 755a7853b679e79d0a799351c092a9b0271f95ff54c8dd8823d8b527a2926a86
MD5 e4afc471eb47c3d2ac4ee7cafc315679
BLAKE2b-256 25e283f16e43c99896cfb474ec329cdd24fc329d546e35d9947d02e3e8d8154d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 2c77eb0560f54ce654ab82d6b2a64327a71ee969b29022bf9746ca311c9f5069
MD5 aabfcb4e285638c9c7f61e7e70cb3cae
BLAKE2b-256 aac81ae07c88fa12f9d120cd4bb530abbbe2b829493c626c9d4217ad97ec36f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 277538466657ca5d6637f80be100242f9831d75138b788d718edd3aab34621f8
MD5 2a6b8830fd5816fb28025ec94cabcc67
BLAKE2b-256 7e2f1cb2a29f6344f890a70a21700d8d3894ee148f05af5092ac26b7c4fc5e2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e0fdb8322206fa02aa38f71519ff75dce2eb481b7e1110e2936795cb376bb6ee
MD5 5614c238d9235dd83f351ffcd2102a0c
BLAKE2b-256 f3b645e73c2f689219d54e8dda7885d4c02985fe961f709eb4b093ec9273c5d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 cf896020f6a9f095a547b3d672c8db1ef2ed71fca11250731fa1d4a4cb8b1590
MD5 0f176ebb55ea409aa0529c5308aaa1da
BLAKE2b-256 6f53531a5d8f0fcc3032e9f99afdf8713127c355024ca81e7d3146e5dc715700

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cc00b4511294f5f6b65c4e77a1a9c62f52490a63d2c120f3872176b40a82351e
MD5 f72679171aa91f400b7cfa2c47d47473
BLAKE2b-256 6aabcbfa0cc7db756403082ccdb5867798701eb158462091680011b7541528ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2f8ad9580ab4da645cfea52a91d2da99a49a1e76616d8be68441a986fad652b0
MD5 fafa72ebbee5fcf811b066334dc6cd0c
BLAKE2b-256 0879678779285ceba175c49683a730b243dc13e638a4d731939bf6ff00a73555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26m-win_amd64.whl
Algorithm Hash digest
SHA256 d68b0cc40a8432ed3fc84876c519de704d6001800ec22b136e75ae841910c45b
MD5 79e7b48de597fe9bb7324630a6591e21
BLAKE2b-256 40d7aea1686c58d8fec24ad91676f459483dd6c885fbf4bbfe971cfc5b020059

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26m-win32.whl
Algorithm Hash digest
SHA256 0954f8813095f581669330e0a2d5e726c33ac7f450c1458fac58bab54595e516
MD5 1913fa808ce9925c19fb9859dd6f1934
BLAKE2b-256 df5ac387d39442c270dfa6efd9ce00c10b936b88191cbc40979f02ebecc244dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 da9291502cbc87dc0284a20c56876e4d2e68deac61cc43df4aec934e44ca97b1
MD5 da678f1556038300b75acf78d069a657
BLAKE2b-256 5f8ad3b9bae1c294058b3db8cc1d33fadd72fb83478a94eecf6acff0188f7746

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 19e43a13bbf52028dd1e810c803f2ad8880d0692d772f98d42e1eaf34bdee3d6
MD5 91a33b7cc6a17b200bf122a6a799e84f
BLAKE2b-256 ba1a94015ee4bd7d2bfaacac87ef060abedf267606613cb5b745b92d7444eddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.0.2-cp26-cp26m-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 187ae17358436d2c760f28c2aeb02fefa3f37647a9c5b6f7f7c3e83cd1c5a972
MD5 a1cfe2668789d8e41cb271be16e5bbb4
BLAKE2b-256 cfeec8d62ebf8415c219407c49429162330e6b871533fb8ffe9836f99a6222d9

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