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

Uploaded Source

Built Distributions

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

Uploaded PyPyWindows x86-64

cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded PyPyWindows x86-64

cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

cryptography-41.0.1-cp37-abi3-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

cryptography-41.0.1-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.1-cp37-abi3-musllinux_1_1_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+musllinux: musl 1.1+ ARM64

cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB view details)

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

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

Uploaded CPython 3.7+manylinux: glibc 2.28+ ARM64

cryptography-41.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

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

cryptography-41.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

cryptography-41.0.1-cp37-abi3-macosx_10_12_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.7+macOS 10.12+ x86-64

cryptography-41.0.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for cryptography-41.0.1.tar.gz
Algorithm Hash digest
SHA256 d34579085401d3f49762d2f7d6634d6b6c2ae1242202e860f4d26b046e3a1006
MD5 49d86f49c47e7b693700887efc117adc
BLAKE2b-256 198c47f061de65d1571210dc46436c14a0a4c260fd0f3eaf61ce9b9d445ce12f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 8dde71c4169ec5ccc1087bb7521d54251c016f126f922ab2dfe6649170a3b8c5
MD5 9a9edfc15efa8de489660ffe3a291f47
BLAKE2b-256 005e39850ff94df530b24c5600f56769d56da44ede9f2c6ef5f2a204dd6c0881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb8163f5e549a22888c18b0d53d6bb62a20510060a22fd5a995ec8a05268df8a
MD5 c98215857b56513860fb15c630b7d528
BLAKE2b-256 9212f33c6911b70c59b92af870b2e4a8c11f8293a12a4d1318be96082e09318f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7bfc55a5eae8b86a287747053140ba221afc65eb06207bedf6e019b8934b477c
MD5 56165957f962799f9535bca74e726c8e
BLAKE2b-256 060471b679d76336fc5fd82041e492e4c372c6b605dba15047e3184654aa5fc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5f0ff6e18d13a3de56f609dd1fd11470918f770c6bd5d00d632076c727d35485
MD5 2866a9e5ab653c9e3e02038c4d597488
BLAKE2b-256 2c745ccc293b24678010611eb43185663064a9c195cdebfbcef8fc323f71eb41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 cb33ccf15e89f7ed89b235cff9d49e2e62c6c981a6061c9c8bb47ed7951190bc
MD5 369c499ff301f4ada848fa1b8c2ffa3f
BLAKE2b-256 a609ac646c5f3ae56a2a895014ede63148a6e2be2689d7bfbdbaab02ed9fe684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a8e6c2de6fbbcc5e14fd27fb24414507cb3333198ea9ab1258d916f00bc3039
MD5 1eced42a9d0a7ce5601c114dcc0e8bd9
BLAKE2b-256 fcdbbccda95237c4a823164d2f243aac25036f8d81c1083a49e85457d185dd31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5d092fdfedaec4cbbffbf98cddc915ba145313a6fdaab83c6e67f4e6c218e6f3
MD5 736043340b52aac453abeac8e742bcef
BLAKE2b-256 2d181c1098a3faeb21e73d83acccaa01f25bcfe6218f59b8dfc59bc31505cbe0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9a6c7a3c87d595608a39980ebaa04d5a37f94024c9f24eb7d10262b92f739ddb
MD5 02e6ab169856fb80885fd0a99ad5304a
BLAKE2b-256 c9f194c71c6fd96ae2ec799c8e5d7a953944a7c7b2ddd8ba941ddc89443645c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1fee5aacc7367487b4e22484d3c7e547992ed726d14864ee33c0176ae43b0d7c
MD5 f4844afced2e49d759ecd7adcb8c61b3
BLAKE2b-256 6a357d7ac1ecd59c88f760584d3b9606ebfd48c5442377d67a8d3081226be424

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-41.0.1-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.10.6

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 8f4ab7021127a9b4323537300a2acfb450124b2def3756f64dc3a3d2160ee4b5
MD5 2826781d35116465ba11a15753bbeaeb
BLAKE2b-256 e51d184779dc4c1e9686bc87628c0bf1b1c846885c6c9ff79c954fda0a4b2498

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b4ceb5324b998ce2003bc17d519080b4ec8d5b7b70794cbd2836101406a9be31
MD5 e61e6df28b90d5487e58f5e3ed34739c
BLAKE2b-256 524ca5b0cabca7033510d490b5a9fddce62f87a0420ddc4d96b1ab4435f10f75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 059e348f9a3c1950937e1b5d7ba1f8e968508ab181e75fc32b879452f08356db
MD5 56ecd6d5aad38fe1b285cece4f66b913
BLAKE2b-256 ef78d391ec7a08d4adf8a93d0fd9fa9fd468493ef50b6213c28deadf5322379d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 948224d76c4b6457349d47c0c98657557f429b4e93057cf5a2f71d603e2fc3a3
MD5 6e28581f645a9a95a0499be0e60e12a4
BLAKE2b-256 493580c346e1a9509210defa857a05e9b7931093719aab25665d4d54f9b3ba83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d198820aba55660b4d74f7b5fd1f17db3aa5eb3e6893b0a41b75e84e4f9e0e4b
MD5 3d1996719ba80a129fe7228ebb0e2f34
BLAKE2b-256 b7883e6c5eda9ab474fa9b0cf84e6119385aaefbe5c9700a5eacd6e0a9f415bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b46e37db3cc267b4dea1f56da7346c9727e1209aa98487179ee8ebed09d21e43
MD5 3bfc205549c3e63522d2ead7bf116261
BLAKE2b-256 32862037a52402f8d03f7a2be172ffb4bbac0250c54e51d50136c0c6c4e0cf70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7fa01527046ca5facdf973eef2535a27fec4cb651e4daec4d043ef63f6ecd4ca
MD5 5982c23f377f72e24b2e196b81b96621
BLAKE2b-256 12828d41bda1fc6e5a51ae4f47abc910e40c0207233bf44f2bcd794272db2c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1a5472d40c8f8e91ff7a3d8ac6dfa363d8e3138b961529c996f3e2df0c7a411a
MD5 8d8a0e417dfc9fe40cc83300bcb52746
BLAKE2b-256 eb096b2c7f6dcf756f318cc232576c2198c114758510317ddade9490e568362a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.1-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 f73bff05db2a3e5974a6fd248af2566134d8981fd7ab012e5dd4ddb1d9a70699
MD5 2a42af5c2401a6857658b2bdb185aa35
BLAKE2b-256 d880e32f30266381f6ca05ee4aa92ce5f305aa1acbef4117a9a8d94d9b60bb67

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