Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

Latest Version Latest Docs https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main

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 3.6+ and PyPy3 7.2+.

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
b'...'
>>> f.decrypt(token)
b'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 #pyca on irc.libera.chat to ask questions or get involved.

Security

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

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

Uploaded Source

Built Distributions

cryptography-39.0.1-pp39-pypy39_pp73-win_amd64.whl (2.4 MB view details)

Uploaded PyPy Windows x86-64

cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.1 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

cryptography-39.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.12+ x86-64

cryptography-39.0.1-pp38-pypy38_pp73-win_amd64.whl (2.4 MB view details)

Uploaded PyPy Windows x86-64

cryptography-39.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-39.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

cryptography-39.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.12+ x86-64

cryptography-39.0.1-cp36-abi3-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.6+ Windows x86-64

cryptography-39.0.1-cp36-abi3-win32.whl (2.1 MB view details)

Uploaded CPython 3.6+ Windows x86

cryptography-39.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ x86-64

cryptography-39.0.1-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

cryptography-39.0.1-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.28+ x86-64

cryptography-39.0.1-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.28+ ARM64

cryptography-39.0.1-cp36-abi3-manylinux_2_24_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.24+ x86-64

cryptography-39.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ x86-64

cryptography-39.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

cryptography-39.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

cryptography-39.0.1-cp36-abi3-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.6+ macOS 10.12+ x86-64

cryptography-39.0.1-cp36-abi3-macosx_10_12_universal2.whl (5.4 MB view details)

Uploaded CPython 3.6+ macOS 10.12+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: cryptography-39.0.1.tar.gz
  • Upload date:
  • Size: 603.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for cryptography-39.0.1.tar.gz
Algorithm Hash digest
SHA256 d1f6198ee6d9148405e49887803907fe8962a23e6c6f83ea7d98f1c0de375695
MD5 f660591f3e629f2722e218d5f2ca35e5
BLAKE2b-256 6af5a729774d087e50fffd1438b3877a91e9281294f985bda0fd15bf99016c78

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp39-pypy39_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 fdd188c8a6ef8769f148f88f859884507b954cc64db6b52f66ef199bb9ad660a
MD5 b940e4225020defd0c9c2216bafcdafd
BLAKE2b-256 d25cd7e80cf8d16cf0c7efcb45244251378d33c3c0c2163512f9cb0e3b66fff6

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aec5a6c9864be7df2240c382740fcf3b96928c46604eaa7f3091f58b878c0bb6
MD5 0f84da55e51a1386937694f35e744ca6
BLAKE2b-256 0d165020ab7f5b45bdf269473d08a0a1aac68ee0100e3b7d9dbd9806a156be9c

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ef8b72fa70b348724ff1218267e7f7375b8de4e8194d1636ee60510aae104cd0
MD5 b20f7adc1915dd4b962e9694aad18fb0
BLAKE2b-256 6707bda0ebf53c15b37bc7a074d114a16629f640255cf3cc890695371b86b2b7

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 6f8ba7f0328b79f08bdacc3e4e66fb4d7aab0c3584e0bd41328dce5262e26b2e
MD5 28b7911bef28cb9208d3dd1d4d9b6926
BLAKE2b-256 5790b7b306ebe813526e5ecd284686abbf84a0b22fd2518e3189d6a8fb54a14d

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 b0afd054cd42f3d213bf82c629efb1ee5f22eba35bf0eec88ea9ea7304f511a2
MD5 368955098d72150b562194bbb698bc26
BLAKE2b-256 38b3d65aec10017f0829c5eb66cdff367904f9c6e3303065167c64b899f7de38

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e422abdec8b5fa8462aa016786680720d78bdce7a30c652b7fadf83a4ba35336
MD5 46373bbee3e3f9ee6d7885be848a899c
BLAKE2b-256 0d6c782116f2554b6de1304fac48f9e9c933881ed6cebfd30f01b78f0f68aadf

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp38-pypy38_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 96f1157a7c08b5b189b16b47bc9db2332269d6680a196341bf30046330d15388
MD5 0ee0486bca112e82700542fdd6905b2d
BLAKE2b-256 68c90ebdea4e0a563cc3d1df52f562c8265177ab85a69a21974bc269c07514ff

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4789d1e3e257965e960232345002262ede4d094d1a19f4d3b52e48d4d8f3b885
MD5 1de26fbe54c4749f15e2189684cbbe6b
BLAKE2b-256 a572d723898ad2c4f974e760226934444f063cd6ee4cc107c6c9ec3470f50ab8

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c5caeb8188c24888c90b5108a441c106f7faa4c4c075a2bcae438c6e8ca73cef
MD5 380a20d0d058ba0956e777532d28a3cb
BLAKE2b-256 c8bbeeae3f97861fc2553fff4f96287344233dfcf4fb94ef5e51cea8d4ee0133

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 807ce09d4434881ca3a7594733669bd834f5b2c6d5c7e36f8c00f691887042ad
MD5 f1368a608bffda054ff8f8e136952418
BLAKE2b-256 c4dcdff464036da4903e08b4626c579420eaad591a13fe630638b9aacd9205cd

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ced4e447ae29ca194449a3f1ce132ded8fcab06971ef5f618605aacaa612beac
MD5 5adce05fd1eff77878db6f2abe792820
BLAKE2b-256 b267f55f33730676654d4ec91956293e681083ed858805904f080aadc707065d

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-win32.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 fe913f20024eb2cb2f323e42a64bdf2911bb9738a15dba7d3cce48151034e3a8
MD5 4263dd278ae85df3f97c0eca3f8cb010
BLAKE2b-256 7cb9df69ecb429db4888464c133bbfac0a47a590ed88339fde73101715d5a22d

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0f8da300b5c8af9f98111ffd512910bc792b4c77392a9523624680f7956a99d4
MD5 62690bc8b97dcdf664da8322be5bc12f
BLAKE2b-256 cecf678181421aa1506c7669c1ccbe8737203fb628406b2cd7e24b6eb0e12429

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f0c64d1bd842ca2633e74a1a28033d139368ad959872533b1bab8c80e8240a0c
MD5 f4ca1c5f60902c2ac2337b526711317a
BLAKE2b-256 67db8bf23a46eb3d428514ce83a8047bab4304338548bbd891fded615551b032

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f24077a3b5298a5a06a8e0536e3ea9ec60e4c7ac486755e5fb6e6ea9b3500106
MD5 6a4f239f98be24ddac09b87eb78c7ca5
BLAKE2b-256 1b903c06f3f7a74dad0955536088c3b743a74e8c57c265f2c7a4b61cebb369c1

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 35f7c7d015d474f4011e859e93e789c87d21f6f4880ebdc29896a60403328f1f
MD5 c90164b5a7d8433dd522fa64fbbe1109
BLAKE2b-256 1461c64c064ffaf1a52c7ee4a29caf3ed88755b016cb0523d841e63eb33a4976

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 5aa67414fcdfa22cf052e640cb5ddc461924a045cacf325cd164e65312d99502
MD5 44a51c31be1e809b4e06bcd343e6a0fe
BLAKE2b-256 2fc706087b04cd870f5acfdc10f8ba252f7985b32c82d4ff96cba05e5f034bf3

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e124352fd3db36a9d4a21c1aa27fd5d051e621845cb87fb851c08f4f75ce8be6
MD5 f9d2f40e36ef1db745d2127cb3af366f
BLAKE2b-256 bb0320b85e10571c919fd4862465c53ae40b6494fa7f82fd74131f401ce504f6

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 83e17b26de248c33f3acffb922748151d71827d6021d98c70e6c1a25ddd78505
MD5 80efed766e2b046ed11f5f79c35bc719
BLAKE2b-256 3fe978f7ca03dff233ca976ed3d40d0376a57f37033be2a90f18dfe090943c97

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 5d2d8b87a490bfcd407ed9d49093793d0f75198a35e6eb1a923ce1ee86c62b41
MD5 f8555a13d8e3f0ac33094dd002424ede
BLAKE2b-256 98511c0cedac9ac405adc5da60f5c9884c0ff6af8ccb8caa8173b807baa5bd4a

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 706843b48f9a3f9b9911979761c91541e3d90db1ca905fd63fee540a217698bc
MD5 cf43b01e9ac7b5d70ab8aa92125d111a
BLAKE2b-256 cde0f531855bda1e5c4d782518ab9b03b2e26370a5996d5b81aea2130a6582f7

See more details on using hashes here.

File details

Details for the file cryptography-39.0.1-cp36-abi3-macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for cryptography-39.0.1-cp36-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 6687ef6d0a6497e2b58e7c5b852b53f62142cfa7cd1555795758934da363a965
MD5 f385fadfd27d5860750dde3dc8083e0f
BLAKE2b-256 d6af14bcaf14195de7855612dd79d5e04a6d0b88bebc2cb3a6544110065ea8d4

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page