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 https://codecov.io/github/pyca/cryptography/coverage.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
'...'
>>> 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 #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-37.0.1.tar.gz (585.2 kB view details)

Uploaded Source

Built Distributions

cryptography-37.0.1-pp39-pypy39_pp73-win_amd64.whl (2.3 MB view details)

Uploaded PyPyWindows x86-64

cryptography-37.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-37.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

cryptography-37.0.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

cryptography-37.0.1-pp38-pypy38_pp73-win_amd64.whl (2.3 MB view details)

Uploaded PyPyWindows x86-64

cryptography-37.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-37.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

cryptography-37.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

cryptography-37.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-37.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

cryptography-37.0.1-cp36-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

cryptography-37.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB view details)

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

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

Uploaded CPython 3.6+musllinux: musl 1.1+ ARM64

cryptography-37.0.1-cp36-abi3-manylinux_2_24_x86_64.whl (4.0 MB view details)

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

cryptography-37.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

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

cryptography-37.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-37.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.6 MB view details)

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

cryptography-37.0.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.0 MB view details)

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

cryptography-37.0.1-cp36-abi3-macosx_10_10_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.6+macOS 10.10+ x86-64

cryptography-37.0.1-cp36-abi3-macosx_10_10_universal2.whl (5.3 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cryptography-37.0.1.tar.gz
Algorithm Hash digest
SHA256 d610d0ee14dd9109006215c7c0de15eee91230b70a9bce2263461cf7c3720b83
MD5 417823d284c43af17faf5c1239d11051
BLAKE2b-256 3d5faddb8b91fd356792d28e59a8275fec833323cb28604fb3a497c35d7cf0a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 315af6268de72bcfa0bb3401350ce7d921f216e6b60de12a363dad128d9d459f
MD5 36b67f28d14e9e351c9b288fe665be96
BLAKE2b-256 a1843166942f587bd5d5b1034a1bad9d24dfe271391f54419642aebe83e62714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 125702572be12bcd318e3a14e9e70acd4be69a43664a75f0397e8650fe3c6cc3
MD5 467b3feaefc750fe3195321eda6b5d5a
BLAKE2b-256 6e93c76c0ac0e84bb0edb0823f23c6b9c075c126ef3664315f7489e692833467

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f095988548ec5095e3750cdb30e6962273d239b1998ba1aac66c0d5bee7111c1
MD5 07564ce44d4d8e36f17ee7e7f5f2a554
BLAKE2b-256 17c57d8156e716307b6d0976f3ba375b099e808d3ec9db9c19edf4db7585f3b6

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b1ee5c82cf03b30f6ae4e32d2bcb1e167ef74d6071cbb77c2af30f101d0b360b
MD5 d92cc091f074cbcd9dd2d831eac1a32a
BLAKE2b-256 c3e116f27f1091629fbb6713792488f4c706c4174d24f6c8b5c9ce5324e1acfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 58021d6e9b1d88b1105269d0da5e60e778b37dfc0e824efc71343dd003726831
MD5 f354681f4ccc065422da2f49025f5cd1
BLAKE2b-256 4265db9dca2b30dedea265eaec18efc7e830b451a4b0d18c928ace205490ca15

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 930b829e8a2abaf43a19f38277ae3c5e1ffcf547b936a927d2587769ae52c296
MD5 fdee7edc9e67ad379801cf9a5786d817
BLAKE2b-256 7cf9a5aa99a06cdf5890c337a2eefe2fb812e57727b496ee650a6b7d660c91bb

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ceae26f876aabe193b13a0c36d1bb8e3e7e608d17351861b437bd882f617e9f
MD5 5d65cd3a2088afec892bf37dfa469e0d
BLAKE2b-256 2160d31b37b43f736cc6004a5695bcecf74b8a8d9a7e4aafc5d2ae8c73d2bf3b

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 618391152147a1221c87b1b0b7f792cafcfd4b5a685c5c72eeea2ddd29aeceff
MD5 70933144e9b9cc9d6a2683d2952a2ba3
BLAKE2b-256 cd9433a589d6cbef93eded9db3840bd45709c4cda31647a0c03c377af9fee38d

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c4a58eeafbd7409054be41a377e726a7904a17c26f45abf18125d21b1215b08b
MD5 83871a1ce027959a24b50517177f6e67
BLAKE2b-256 e8d593b4c60421dbfe18d1393f4385b3e4fff5fd61d99e1a094bbcbbf97a2781

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cce90609e01e1b192fae9e13665058ab46b2ea53a3c05a3ea74a3eb8c3af8857
MD5 f52108eb391bbe039d1652332148ecae
BLAKE2b-256 57442cdc3e3e7430f8a51652fe96e690e12bf18b631706ba2b1460204997572f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a18ff4bfa9d64914a84d7b06c46eb86e0cc03113470b3c111255aceb6dcaf81d
MD5 8306c831e82bb399ded73a2d14c602c3
BLAKE2b-256 f281c5acd0705aa5f7204ad9e8012cb148d82c0a1a7dca212f84f63c9521053a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-37.0.1-cp36-abi3-win32.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.1

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 e69a0e36e62279120e648e787b76d79b41e0f9e86c1c636a4f38d415595c722e
MD5 1da10f450ad8d76cf49d8069caef2bf6
BLAKE2b-256 740ae2a3b032a91417c5c02bf47291026166ea95484de7c34b0c967a600b460e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1858eff6246bb8bbc080eee78f3dd1528739e3f416cba5f9914e8631b8df9871
MD5 c50a7330d8ccc3cff95d887f3b665bd6
BLAKE2b-256 e2fb8fc374289662aefb35cf1b55c689bb00dc46bb8a78dafbc9a4788c3505c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 451aaff8b8adf2dd0597cbb1fdcfc8a7d580f33f843b7cce75307a7f20112dd8
MD5 91ca6778bd2aa8a99cb2dcf4c8ceb4a0
BLAKE2b-256 e89ee269484806b6df2b1125242444782fe24a52574bbbe94537b0816f4dff14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 ae1cd29fbe6b716855454e44f4bf743465152e15d2d317303fe3b58ee9e5af7a
MD5 8cc944aaf807529b3dadbd1e5a29d8f7
BLAKE2b-256 c99f17f5fd3b6e2ef754c50cc3fcf868e716e03083bb1e9fcf942b16279b07b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d4daf890e674d191757d8d7d60dc3a29c58c72c7a76a05f1c0a326013f47e8b
MD5 40bc80805967bd05c168c506e2f8f25b
BLAKE2b-256 8dc0e637189d6cc8ee12f3212ffffd016817170721c693e33513eb8ef87f4f55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bf585476fcbcd37bed08072e8e2db3954ce1bfc68087a2dc9c19cfe0b90979ca
MD5 6577558dd45d3661ab0301dfea549e1c
BLAKE2b-256 14bedc4f98c147d88aaff86160a81a9c0d6712f85c32fd8d531a2b80f4ed3eb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 06bfafa6e53ccbfb7a94be4687b211a025ce0625e3f3c60bb15cd048a18f3ed8
MD5 a7206310e1f11f0cf8192668f8ce16e5
BLAKE2b-256 f0c2eacf9b6088d2bf4e2bf1859af950ec3be3f51d0dde084bac52be9bbfe38a

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 faf0f5456c059c7b1c29441bdd5e988f0ba75bdc3eea776520d8dcb1e30e1b5c
MD5 34362177db3b9c87bb6beb45962357c3
BLAKE2b-256 7df1ad33a790ec61b1471d1bdf40fe8506998ba9244a986fb25144edab873c7e

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-cp36-abi3-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0db5cf21bd7d092baacb576482b0245102cea2d3cf09f09271ce9f69624ecb6f
MD5 88ece2aca0d2e88d34fcdf326fbafd49
BLAKE2b-256 d097a78ba2b115927d0910e22552b13bc25dd14bb5e7b18d6fe3f1fd94cd85e4

See more details on using hashes here.

File details

Details for the file cryptography-37.0.1-cp36-abi3-macosx_10_10_universal2.whl.

File metadata

File hashes

Hashes for cryptography-37.0.1-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 74b55f67f4cf026cb84da7a1b04fc2a1d260193d4ad0ea5e9897c8b74c1e76ac
MD5 0664d03b4b28413b96a9d558354b994c
BLAKE2b-256 fe647244091a98a5c6e2737d50904f611b7a0edd194017e841bc0a89d16f6cc3

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