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

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

Uploaded Source

Built Distributions

cryptography-41.0.6-pp310-pypy310_pp73-win_amd64.whl (2.6 MB view details)

Uploaded PyPy Windows x86-64

cryptography-41.0.6-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.6-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

cryptography-41.0.6-pp310-pypy310_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.6-pp39-pypy39_pp73-win_amd64.whl (2.6 MB view details)

Uploaded PyPy Windows x86-64

cryptography-41.0.6-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.6-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.6-pp38-pypy38_pp73-win_amd64.whl (2.6 MB view details)

Uploaded PyPy Windows x86-64

cryptography-41.0.6-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.6-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.6-cp37-abi3-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7+ Windows x86-64

cryptography-41.0.6-cp37-abi3-win32.whl (2.2 MB view details)

Uploaded CPython 3.7+ Windows x86

cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl (4.4 MB view details)

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

cryptography-41.0.6-cp37-abi3-musllinux_1_1_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.1+ ARM64

cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB view details)

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

cryptography-41.0.6-cp37-abi3-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ ARM64

cryptography-41.0.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

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

cryptography-41.0.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

cryptography-41.0.6-cp37-abi3-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

cryptography-41.0.6-cp37-abi3-macosx_10_12_universal2.whl (5.3 MB view details)

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

File details

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

File metadata

  • Download URL: cryptography-41.0.6.tar.gz
  • Upload date:
  • Size: 630.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cryptography-41.0.6.tar.gz
Algorithm Hash digest
SHA256 422e3e31d63743855e43e5a6fcc8b4acab860f560f9321b0ee6269cc7ed70cc3
MD5 76daf282e511b469837354fa58af6040
BLAKE2b-256 4db4828991d82d3f1b6f21a0f8cfa54337ed33fdb52135f694130060839cfc33

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 f39812f70fc5c71a15aa3c97b2bbe213c3f2a460b79bd21c40d033bb34a9bf36
MD5 804dc956f730b6ea7848f0e594d646e0
BLAKE2b-256 2c1639febff026509508beb53815f2581aadcdebcd85d6283ad7d9be441fd4b3

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85abd057699b98fce40b41737afb234fef05c67e116f6f3650782c10862c43da
MD5 8a61e22d2e15cb63915822d8b0c75ac3
BLAKE2b-256 354c9e164274a5bcbfa9897a97a199c8d3ef731b5e4b4a937962ad968b79c1ea

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c5a550dc7a3b50b116323e3d376241829fd326ac47bc195e04eb33a8170902a9
MD5 5934c23b26185126f72f12a298fe8c07
BLAKE2b-256 d7771514c61862a2141dfc758a60b1dea383321d8a83b58482932ddd073cdca6

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-pp310-pypy310_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8efb2af8d4ba9dbc9c9dd8f04d19a7abb5b49eab1f3694e7b5a16a5fc2856f5c
MD5 b84c204d55fee5494b1fb779624b12a1
BLAKE2b-256 ada2d28fec58e140077fe1e724b0a39bd7a2cc6f433ae975b50b2f4554878987

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 3288acccef021e3c3c10d58933f44e8602cf04dba96d9796d70d537bb2f4bbc4
MD5 d5158ab210c15b4a0c1073d686eadce7
BLAKE2b-256 1d38910026698220bd91d4322b2ada54769c3b6059f8f28ead95a154eaa71dee

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 60e746b11b937911dc70d164060d28d273e31853bb359e2b2033c9e93e6f3c43
MD5 e715df0e3f22d6a0d9adeb32bd301407
BLAKE2b-256 e87012c7a85236dc398fd8275fd5fcb5f2d4f174534c709b3a79fab8012d42ff

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7e00fb556bda398b99b0da289ce7053639d33b572847181d6483ad89835115f6
MD5 82030ca805fd80dea774e16c11e6d973
BLAKE2b-256 3b0daac2d2dc0734483df4404c0bf89eafa6340df5a6e886e635bf06b0672b8d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 398ae1fc711b5eb78e977daa3cbf47cec20f2c08c5da129b7a296055fbb22aed
MD5 ca52bfc20b46c991a4901089cd948d20
BLAKE2b-256 50dd656017fce555720ea612cd36fc5c6d78cc114c8c911793e8abc5421208ed

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 b27a7fd4229abef715e064269d98a7e2909ebf92eb6912a9603c7e14c181928c
MD5 879bb6caabfba565c8ca1a28cd4a5ebe
BLAKE2b-256 88a022885e12ad2eb1844a1cea2b234890e2811b49c2a61b9cc2e6a331dbba3a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d03186af98b1c01a4eda396b137f29e4e3fb0173e30f885e27acec8823c1b09
MD5 a1a284091e0a208a5622ee0094a9fba0
BLAKE2b-256 c9d85930b892c0cf425fa9bedf726b2711ebfe7345cb0aec6a0503d83f998e01

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 35f3f288e83c3f6f10752467c48919a7a94b7d88cc00b0668372a0d2ad4f8ead
MD5 edbaffad094b4e69d5612711e988fe26
BLAKE2b-256 7c091d1aece2b96834176c98ebd7e07a7f272361c0feda2e5f5f41c9cc872338

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.6-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 742ae5e9a2310e9dade7932f9576606836ed174da3c7d26bc3d3ab4bd49b9f65
MD5 eb0834881ddae53b54d31ff47798e6a3
BLAKE2b-256 a0ec789c88d9afd60e14f4c3df1417d4de60e29d1ee762086c27f4a1883d2040

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 48783b7e2bef51224020efb61b42704207dde583d7e371ef8fc2a5fb6c0aabc7
MD5 9ff152cc1537784bbd504574143b644e
BLAKE2b-256 e9e256b5a694eed8efc1bd6869208e83f8b7af0e6e11a69309b11b3b8d700b71

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-win32.whl.

File metadata

  • Download URL: cryptography-41.0.6-cp37-abi3-win32.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 2132d5865eea673fe6712c2ed5fb4fa49dba10768bb4cc798345748380ee3660
MD5 b7e1a0cb2f97e6c2f2c52899c8566f10
BLAKE2b-256 c92673e4dd484d4fb9fa98f2afdfb72bccda1cd1e2174a8a0865a964f699461a

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 068bc551698c234742c40049e46840843f3d98ad7ce265fd2bd4ec0d11306596
MD5 14104b40cfbc1a6985e70fb3ff592192
BLAKE2b-256 a43738d1340a8eb720dac78fde5d14742c6bb22a4b5f750ac869ef4eaaa795e0

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5daeb18e7886a358064a68dbcaf441c036cbdb7da52ae744e7b9207b04d3908c
MD5 0babaeb4b6f778312a43e564905c2131
BLAKE2b-256 0768d41ba60a16ff4e64965a857fcf2041f893362ae62c5b88d8b958196e2bed

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b648fe2a45e426aaee684ddca2632f62ec4613ef362f4d681a9a6283d10e079d
MD5 630f8486360e33fd54be1cfc677576eb
BLAKE2b-256 1e7a22192740f36448bb763846da291c13fa66dae92917b5a1cd032ea5dfe2d1

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ff369dd19e8fe0528b02e8df9f2aeb2479f89b1270d90f96a63500afe9af5cae
MD5 f05a1ceac0c7898ea338ced7ee6ad60c
BLAKE2b-256 0edd6043bf697d30dc4277cc1608af1145d6076fdd0f00283626bf916d7cde8f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 da46e2b5df770070412c46f87bac0849b8d685c5f2679771de277a422c7d0b86
MD5 90eeac56fc3761a785e7e154828d5953
BLAKE2b-256 ce4e54960380dda23ceb2027500e568aeafd6f06ce031847d7f2d3157f2bd12b

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 afda76d84b053923c27ede5edc1ed7d53e3c9f475ebaf63c68e69f1403c405a8
MD5 b3448db472ba78a7021c4b23a64128db
BLAKE2b-256 88bd0c1dc2d29a6eed5ac0491d9b0ba3e118ac8d36b532bb812b3047e3b87a1e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ae236bb8760c1e55b7a39b6d4d32d2279bc6c7c8500b7d5a13b6fb9fc97be35b
MD5 fba9f095261d402fb4ac411105d965a9
BLAKE2b-256 debaebea56c818fc16dee825c471557ceb4edfe7cab850a8d88a1b3a6b496b52

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-41.0.6-cp37-abi3-macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for cryptography-41.0.6-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 0f27acb55a4e77b9be8d550d762b0513ef3fc658cd3eb15110ebbcbd626db12c
MD5 c62bc3454df77093b4fde44b699abda9
BLAKE2b-256 75582619a79e6f0c986bac0171fa979f078e2389cdad58973507b8fb26bab103

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