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

Uploaded Source

Built Distributions

cryptography-41.0.5-pp310-pypy310_pp73-win_amd64.whl (2.5 MB view details)

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

cryptography-41.0.5-pp39-pypy39_pp73-win_amd64.whl (2.5 MB view details)

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

cryptography-41.0.5-pp38-pypy38_pp73-win_amd64.whl (2.5 MB view details)

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

cryptography-41.0.5-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.5-cp37-abi3-musllinux_1_1_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.7+musllinux: musl 1.1+ ARM64

cryptography-41.0.5-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.5-cp37-abi3-manylinux_2_28_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.28+ ARM64

cryptography-41.0.5-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.5-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.5-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.5-cp37-abi3-macosx_10_12_universal2.whl (5.4 MB view details)

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

File details

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

File metadata

  • Download URL: cryptography-41.0.5.tar.gz
  • Upload date:
  • Size: 630.5 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.5.tar.gz
Algorithm Hash digest
SHA256 392cb88b597247177172e02da6b7a63deeff1937fa6fec3bbf902ebd75d97ec7
MD5 c4919e87c38f35751b0d533ca18a46e9
BLAKE2b-256 16a738fdcdd634515f589c8c723608c0f0b38d66c6c2320b3095967486f3045a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 0c327cac00f082013c7c9fb6c46b7cc9fa3c288ca702c74773968173bda421bf
MD5 695cb73d5b91f97c75f692cf075a5691
BLAKE2b-256 9cd5fa53fbaac5a906b08d9a81beef10fc395cf5de8501897499adf54a3acdcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 573eb7128cbca75f9157dcde974781209463ce56b5804983e11a1c462f0f4e88
MD5 761ef1634a2d5c3e90737e2b83a79e06
BLAKE2b-256 2e92720491aae578d21d23934d816ef0620bd1081a1bfdc015f228cc8abccaf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e886098619d3815e0ad5790c973afeee2c0e6e04b4da90b88e6bd06e2a0b1b72
MD5 298a3b875ff7d1d10e59b64cd342dd37
BLAKE2b-256 1b3024cf09530df7ee5d85a3070b5ef8de5810b49130d955ae8bce11720b8b2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3be3ca726e1572517d2bef99a818378bbcf7d7799d5372a46c79c29eb8d166c1
MD5 779eb8b1c0727b57afb4d91285ffff33
BLAKE2b-256 2a6d33e42b8595da059bf10beb1529e501d5817ed4480b1d285303d155cdfccd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 0d2a6a598847c46e3e321a7aef8af1436f11c27f1254933746304ff014664d84
MD5 9821c4973bbba7e97cfaee32f9f226fa
BLAKE2b-256 f7136de3719532415f83b38fc3b56188efd4c9a1fe3910d8cdeabf5fef8fe3f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fba1e91467c65fe64a82c689dc6cf58151158993b13eb7a7f3f4b7f395636723
MD5 7ee31d01ec84cfac1dac237fe1e41bc9
BLAKE2b-256 2641e5ebaad8b27f8662c92a7d4cb9bf16e488450cb4b6ee0fce5b78b3327679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 580afc7b7216deeb87a098ef0674d6ee34ab55993140838b14c9b83312b37b86
MD5 1d342dc9009a2bba8a72065c73b0caf3
BLAKE2b-256 4d47f8f1a8f762e4e7b772d1c9898caec7fa0a1ed4de5b9a536d7997fbb7133c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c707f7afd813478e2019ae32a7c49cd932dd60ab2d2a93e796f68236b7e1fbf1
MD5 e55602d68c18f17846ffec4084db501c
BLAKE2b-256 edd997ca3b4ee56a77fee0ec7ecb2a354c260a11ad5bc50d1e3de165e71f2ec4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 88417bff20162f635f24f849ab182b092697922088b477a7abd6664ddd82291d
MD5 ebefeee3542340d148473a21f0fd696f
BLAKE2b-256 2ad13e64e809eff9d8bda5d50ac95fcf419e33f8864c632d42afe011dca97f46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a70187954ba7292c7876734183e810b728b4f3965fbe571421cb2434d279179
MD5 3f3fd448816b3374fbeb9bf1c7ee5bff
BLAKE2b-256 5934d3023b52daacea96c4cb0514bd9712011cac444ee45d166919386f7ac13f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 22892cc830d8b2c89ea60148227631bb96a7da0c1b722f2aac8824b1b7c0b6b8
MD5 890347fa896975a7df43f0e4ce72c37c
BLAKE2b-256 ea04a9b58dbaccbc226c3d81f8edfc3cb91497dc295f0cc28d693c4f524169a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 227ec057cd32a41c6651701abc0328135e472ed450f47c2766f23267b792a88e
MD5 17156428cddf4d5e028893ff8f40957f
BLAKE2b-256 484bef0a674e8ea1d7946dfed0fd3a683bd3a8134af7c7b1e2b0d49205bb494b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 73801ac9736741f220e20435f84ecec75ed70eda90f781a148f1bad546963d81
MD5 37c601baf7097ccd6d4eead11a4988bd
BLAKE2b-256 8635f03a42444866ef7f23134812a05012dcb509418214fb78ec848f28cd14b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-41.0.5-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.5-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 d3977f0e276f6f5bf245c403156673db103283266601405376f075c849a0b936
MD5 9a73117b95ea66d2a51fe1ffff4ef597
BLAKE2b-256 c2e6d653656f8864e629794f322ea53ef30dbc8c5ed4c1f0c162ab93451b0eb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a48e74dad1fb349f3dc1d449ed88e0017d792997a7ad2ec9587ed17405667e6d
MD5 0394c53320f92976241034829c00217b
BLAKE2b-256 4b3d081af0b323a8efd6cd9d9c5b248049b91a7c2cf5473fc67bae374f016781

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8254962e6ba1f4d2090c44daf50a547cd5f0bf446dc658a8e5f8156cae0d8548
MD5 4b8b025e793743192791d498521facc4
BLAKE2b-256 0540ade6e708e6e90528dc50b215adce495fec49286f199bc11e4199b1666505

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d208c21e47940369accfc9e85f0de7693d9a5d843c2509b3846b2db170dfd20
MD5 fe73cc51ffac31fb5be92f8956710f45
BLAKE2b-256 856248bcebd955945d8da3fe9b84a679dbf4bf179e1ac36e583b7eaa47506758

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ec3b055ff8f1dce8e6ef28f626e0972981475173d7973d63f271b29c8a2897da
MD5 098762dd19a39d647bfaf0c3b9ff682f
BLAKE2b-256 e321958e33e2c149461e0a93ca358b794771d55f781ca808efcadb86a4c08e49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e270c04f4d9b5671ebcc792b3ba5d4488bf7c42c3c241a3748e2599776f29696
MD5 66e8789249d2a75b5796f4251730f39b
BLAKE2b-256 3e1b1703679eface155413730f4a2313aebf846ae7496c15083ae9c07e7324b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d38e6031e113b7421db1de0c1b1f7739564a88f1684c6b89234fbf6c11b75147
MD5 f1190c637570960475dbc71fd50401ae
BLAKE2b-256 bb365af9ca6e0b00bd0c40b0d0e3d95a1bfc4fb7e0b94e522d1394ff4f7505cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b948e09fe5fb18517d99994184854ebd50b57248736fd4c720ad540560174ec5
MD5 84d0b8fc090eed22840de493267042e1
BLAKE2b-256 7677e5ed12b40bbb710137bec76dd43efa6151b43fdece233b647463349e38fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.5-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 da6a0ff8f1016ccc7477e6339e1d50ce5f59b88905585f77193ebd5068f1e797
MD5 16b77dfdcfa5a5202e816b12c24ab92c
BLAKE2b-256 0bc12f1e8abb31ec0bf8b004052bbe0face0a8be386ed5ea30e5e300bfffd51a

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