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.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.

Security

Need to report a security issue? Please consult our security reporting documentation.

Project details


Release history Release notifications | RSS feed

This version

2.2

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4+

cryptography-2.2-cp34-abi3-manylinux1_i686.whl (2.0 MB view details)

Uploaded CPython 3.4+

cryptography-2.2-cp34-abi3-macosx_10_6_intel.whl (1.5 MB view details)

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

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

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

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

File details

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

File metadata

  • Download URL: cryptography-2.2.tar.gz
  • Upload date:
  • Size: 443.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cryptography-2.2.tar.gz
Algorithm Hash digest
SHA256 f5a0279e362c37e2150a32fe35ec20226e9237b6c9927fce8d53ef8e49e64f48
MD5 c49c1ee145a900313a216fa2c788208c
BLAKE2b-256 b1b8f42fd854ed5b6f29a1b9c3778993753ff6ef138e4d892fdd61355d40508d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0222f19fa29c609b4be4bc260db6ab9bfabca1b2626ebf97875cca21ac60d968
MD5 2cbb2a0b2d125bffd0ddb2258ae1a8e1
BLAKE2b-256 47b98afd2b04dfc3cc2869c68201cebca3b0a0334c3817167e4f2f92f951698d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 30427c764aa0fcc6983af78bcbd540e10a87a094cbe428006329c6666ce00db8
MD5 c0cefa69e6fc35c25c3a26aed11c124d
BLAKE2b-256 421c18ed020383c09c27e0194f24e79dcbab12bda65c2c8a00c7f2be2cc34431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 064e820797b6992104041e74a32f912b4e4279da4e7821daa31b580de1fa910c
MD5 a362fdd4e3087d8025fafb04c612517d
BLAKE2b-256 4bf02cbf7a6e6ca30edecbf3d32679ebc4f563debe55ca89742c0db7d969d316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 0f11c46e22bb4c2f6811ae408fb72e262116e864cf1e75d9503bd6a5ced04fb4
MD5 136de8094483a8787b2a937b71d4c427
BLAKE2b-256 a55c094bd1657d84865402691495ea8343671ee5423350ac130ff4ad06d700cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 8c0f5b4001fcaf742f9d74b483249d4675de2f837146baf8f2e4a7999993fcb4
MD5 74339d25050c60b183c247e76d9a08fc
BLAKE2b-256 21639e67f84e892a083a8ea038eff770d970df980dda6d3d14c3d2c79c910321

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 252185cbe85c057796458f365425d45d7cd7f748ca53dbc906359a22e156cfd2
MD5 561052ca76d1b1836e51fb0d0ef836e2
BLAKE2b-256 e6f385c0fd56056fd6031331b0ed8893b40fd7c890a960cb32d789ba9f041305

See more details on using hashes here.

File details

Details for the file cryptography-2.2-cp34-abi3-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-2.2-cp34-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b323325ea2dcacfdf3ff8f82a1069ab9e65353cc433625c4ebe54ed70ced4137
MD5 56b97b09f905f0edec18b00abafedb88
BLAKE2b-256 330af6a783bf393250e7099a63c6be33e6e1435eefb6fe585b30928a2cc1c7cd

See more details on using hashes here.

File details

Details for the file cryptography-2.2-cp34-abi3-manylinux1_i686.whl.

File metadata

File hashes

Hashes for cryptography-2.2-cp34-abi3-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0e426fcb6e6f9100b3e3373458888cc6deb5934e6c4a26996ad720de35bce276
MD5 9a529dba67ed556373004a9071fb823b
BLAKE2b-256 1d20dac4e0a6f72bf9593b0fbd5581d19c5f64f9b77f4c33fe548ac8c150059d

See more details on using hashes here.

File details

Details for the file cryptography-2.2-cp34-abi3-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-2.2-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2ec7cc10a65b6ea9efd46e9c6f247e01c707c92074d2ba0be5c2641defe858f7
MD5 29b45e22067d17707a54fee0480f4d2e
BLAKE2b-256 d5fe9fb4256594be005f944630152a377b34911387e4252a00b53028313f603c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cc5a53061d65bc8f80b08645b32c814071630e763a897b0db72fbb0e170fc93f
MD5 a571985253859a00140d4c51a05ac309
BLAKE2b-256 4ed70a3a557b696639c689006532eda302998801106a351a9292b886ee9a0a72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ee37235d837c9b6bdd921d396017b65df67c4c16befc1772be5266304fdaf427
MD5 29c6e1f38cc283c4362400968661c136
BLAKE2b-256 4b6b9f9c684a1f21e2600c354042e770508fe6781cdd0e616a7c9d7ed9f4f69c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 527c096af06aa0620d3d361b17e6d314e9d4800ce53c2ad841d9fe5a82488acd
MD5 47871ff30afdfca0c48979bb55e5f0b7
BLAKE2b-256 0d0dacb63daae26baba5c22479909ab252ad11168d18965ed2b22eded2a08b36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 a0d0f1a7aebeb9a4145ee09a4667a7510caf97bd127c4b5d6332d013050a7567
MD5 cab4a2c6b928edc7b4be29b92de0c0e8
BLAKE2b-256 2150e4effbc41ce147cfb86fe9589d6942da2da7a9985184149c155bad126068

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aead0332e00ae18045f3d4a8eea3891be095aa5bb3a74ea0affa49fe80c40ecd
MD5 cfeb15c9c7c1d7c44508b51ec57e48f1
BLAKE2b-256 9bf6473c83ed127cb7abcdde48c82e64ff564f50366dd385ced4723058c560ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f76e27b5a57337352b59b79a342264b9a8557dc11174e6ec222d0b5e266b132f
MD5 ef7d32341a1cfeaa71cfe2313656dcff
BLAKE2b-256 74c98025e88578a87533357dbc25e3b33ac335a5544cc6fe2719e4cea6165204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-2.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f1d2d8e808523bac32737d167f3b7370429a9e575d156e887779310e57e41b5d
MD5 e669b0cdc52d424174b25bd4bcf4a110
BLAKE2b-256 f33d89fa08552ec1ecdb88755cd05a830537e911d176a503acbbe613c39a1c65

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