Skip to main content

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

Reason this release was yanked:

Regression in OpenSSL.

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-37.0.3-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.3-pp39-pypy39_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

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

Uploaded PyPyWindows x86-64

cryptography-37.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-37.0.3-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.3-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

cryptography-37.0.3-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-37.0.3-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.3-cp36-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

cryptography-37.0.3-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.3-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.6+musllinux: musl 1.1+ ARM64

cryptography-37.0.3-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.3-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.3-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.3-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+ ARM64manylinux: glibc 2.24+ ARM64

cryptography-37.0.3-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.1 MB view details)

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

cryptography-37.0.3-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.3-cp36-abi3-macosx_10_10_universal2.whl (5.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cryptography-37.0.3.tar.gz
Algorithm Hash digest
SHA256 ae430d51c67ac638dfbb42edf56c669ca9c74744f4d225ad11c6f3d355858187
MD5 00076e10099e73e5bb4c0ea0cf0949f8
BLAKE2b-256 67829dd8ef695c7f928b25927e8956f73bdba09a752a51871678f320c498c535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 2383d6c3088e863304c37c65cd2ea404b7fbb4886823eab1d74137cc27f3d2ee
MD5 5010b53d1baa97ba275a3670aec1621e
BLAKE2b-256 f0fda825013cf5c5f21487d0ac14d53fd5d0104378dd013d7c33c138535f395f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c3c8b1ad2c266fdf7adc041cc4156d6a3d14db93de2f81b26a5af97ef3f209e5
MD5 475d7e3c597508aaa15849803c7907ed
BLAKE2b-256 9ac51d0ccd93e23481d530a34cb14995813ac0b53a6279ed23bf12be397bad95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bf652c73e8f7c32a3f92f7184bf7f9106dacdf5ef59c3c3683d7dae2c4972fb
MD5 effaafc8baf7934656e602a4380b352b
BLAKE2b-256 08f633da2f4b0f4d0f8749e04f43040ffa85a8105d4ecf60c6fdd0dec2541450

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0f9193428a55a4347af2d4fd8141a2002dedbcc26487e67fd2ae19f977ee8afc
MD5 760acad369d7c7f1efbc1cf85a737665
BLAKE2b-256 c59eec095ea3e3d390189dabde40dad2ce3ea7608a62654cd7151fce8d1d0627

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 773d5b5f2e2bd2c7cbb1bd24902ad41283c88b9dd463a0f82adc9a2870d9d066
MD5 ecbaed8ef5c44b63d7c6a340754c3550
BLAKE2b-256 7a97604e8bc12d31f63ec73433ed042c36a112f5951b188733ed9c4c4ab6cde1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8a85dbcc770256918b40c2f40bd3ffd3b2ae45b0cf19068b561db8f8d61bf492
MD5 08e73c554efcc02838ae219f86eb8d0e
BLAKE2b-256 de086d51c76899946fc7bff269cb3eb75c048f292e9a044b1ff37ac012e025bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a94fd1ff80001cb97add71d07f596d8b865b716f25ef501183e0e199390e50d3
MD5 9542a7523408349ccb5e6550cb84338d
BLAKE2b-256 1001732448414fe50d2c0ded6bb682157ff40ac3dadb3f2534d82553616ff0d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 31a7c1f1c2551f013d4294d06e22848e2ccd77825f0987cba3239df6ebf7b020
MD5 7d092ddf5810123b5a0a3da156d18e12
BLAKE2b-256 9347f3416edd47449cd964f2d1f878f293905b445233e5887547c2ef8dc48bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 30d6aabf623a01affc7c0824936c3dde6590076b61f5dd299df3cc2c75fc5915
MD5 5d378293b0f3559625f94b7ae72aa026
BLAKE2b-256 4f5d9032f4b2f3652c799678fb872bef6cbe61ac2106ef7832a3aeb9a9ad955a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 891ed8312840fd43e0696468a6520a582a033c0109f7b14b96067bfe1123226b
MD5 573af1d5554e2042b59a4c15e4182f26
BLAKE2b-256 59b928fc9412495d9ccc55a5c1ff206b1b24cc386d5c14f904e0ddd118b39b26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b05c5478524deb7a019e240f2a970040c4b0f01f58f0425e6262c96b126c6a3e
MD5 5b5c7c086d4589cc2b2ea8e3d6d61c74
BLAKE2b-256 5c2a3c00490132d26fe4a5aea24e34cc73fcde63d9e390fa54333b0fafd1c8b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-37.0.3-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.1 CPython/3.9.13

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 190a24c14e91c1fa3101069aac7e77d11c5a73911c3904128367f52946bbb6fd
MD5 2b7ecace2229592ae5fb42275fca8aa5
BLAKE2b-256 758bda35e8089f6937b80e05de888f51b2a8858b0d14b6fc269168f16b5476aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a03dbc0d8ce8c1146c177cd0e3a66ea106f36733fb1b997ea4d051f8a68539ff
MD5 a38e6581bf1f76eeec776529a7a739aa
BLAKE2b-256 806686ab67c9bcc763bd09181eb4d0531bc6117c4ddeaf56f4e86a010af9c128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0b4bfc5ccfe4e5c7de535670680398fed4a0bbc5dfd52b3a295baad42230abdf
MD5 8cab6a05389f9bd1a8726865695b374e
BLAKE2b-256 ffd61aee6ea559ce597569a4abc7f76f27213591ebae36adcdccc03488991b19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 dcafadb5a06cb7a6bb49fb4c1de7414ee2f8c8e12b047606d97c3175d690f582
MD5 3c8fc605ae8d0648ddc88b1c9afa2038
BLAKE2b-256 f1025bfebe12045e92e06676c5a2bd951ebf8e216edce74bdb6a2301b7eceb1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 646905ff7a712e415bf0d0f214e0eb669dd2257c4d7a27db1e8baec5d2a1d55f
MD5 53f3d9c0e089c575a4ac6bcc19c9fc8b
BLAKE2b-256 bd257ab5444c3e6e643895b7d3359ef0797c498e9c3b6cf1b9db2f148e26b523

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b9c2008417741cdfbe945ef2d16b7b7ba0790886a0b49e1de533acf93eb66ed6
MD5 636dc85f4d73ed795a92953995e11da8
BLAKE2b-256 60b943acb6dbe7704f67f6bdd8e727ef0f7f269c618708adac1794f51bd74ee1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0713bee6c8077786c56bdec9c5d3f099d40d2c862ff3200416f6862e9dd63156
MD5 06f6a99b108f143f9359799d9f2b67b4
BLAKE2b-256 9b63853b1509e4d36fdc4bba052db24a9f7402cba9844e69b09508cbb872502d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 17c74f7d9e9e9bb7e84521243695c1b4bdc3a0e44ca764e6bcf8f05f3de3d0df
MD5 35a6b111f262919f039dd9cb1f308329
BLAKE2b-256 4fc6ac849d61022cd9df7062b7bf6b286e99a1cfc9608c0e802443fa34c5f1dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 cd64147ff16506632893ceb2569624b48c84daa3ba4d89695f7c7bc24188eee9
MD5 9a07faa8e1a3becce1e5305e5b399afe
BLAKE2b-256 bc1c749a63d4650bb757cbc651c1834b771ac199e4e73e2b9ed45fb061207dbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.3-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 d10413d493e98075060d3e62e5826de372912ea653ccc948f3c41b21ddca087f
MD5 bc289dbe5f2332b3dab7122a4538c47d
BLAKE2b-256 726384d4e37500d16fffacb6f21371b298c90e50941df59ca25d86b37e5a9ff2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page