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-36.0.0.tar.gz (571.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-36.0.0-pp38-pypy38_pp73-win_amd64.whl (2.1 MB view details)

Uploaded PyPyWindows x86-64

cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.1 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.0 MB view details)

Uploaded PyPymanylinux: glibc 2.12+ x86-64

cryptography-36.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.1 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.0 MB view details)

Uploaded PyPymanylinux: glibc 2.12+ x86-64

cryptography-36.0.0-cp36-abi3-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.6+Windows x86-64

cryptography-36.0.0-cp36-abi3-win32.whl (1.9 MB view details)

Uploaded CPython 3.6+Windows x86

cryptography-36.0.0-cp36-abi3-musllinux_1_1_x86_64.whl (3.8 MB view details)

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

cryptography-36.0.0-cp36-abi3-musllinux_1_1_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.6+musllinux: musl 1.1+ ARM64

cryptography-36.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB view details)

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

cryptography-36.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB view details)

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

cryptography-36.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

cryptography-36.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.3 MB view details)

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

cryptography-36.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.7 MB view details)

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

cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

cryptography-36.0.0-cp36-abi3-macosx_10_10_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6+macOS 10.10+ x86-64

cryptography-36.0.0-cp36-abi3-macosx_10_10_universal2.whl (4.8 MB view details)

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

File details

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

File metadata

  • Download URL: cryptography-36.0.0.tar.gz
  • Upload date:
  • Size: 571.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0.tar.gz
Algorithm Hash digest
SHA256 52f769ecb4ef39865719aedc67b4b7eae167bafa48dbc2a26dd36fa56460507f
MD5 b01bc982e1f978a0536f1651a0db9d36
BLAKE2b-256 6006d9109aba62c0b42466195e5b9b30dded26621a675b73998218070d8cc637

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-pp38-pypy38_pp73-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: PyPy, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 d73e3a96c38173e0aa5646c31bf8473bc3564837977dd480f5cbeacf1d7ef3a3
MD5 05c1297f7ae7226b9c9308fd8ea1932d
BLAKE2b-256 ae4bd8a8feb6a9ebf1a53a0caf6c7e9d2684b34f6a6db4ee04374a33c94b1dda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: PyPy, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 f92556f94e476c1b616e6daec5f7ddded2c082efa7cee7f31c7aeda615906ed8
MD5 54ce073d3f62efcc79a481d54bef8de3
BLAKE2b-256 d399ceb12abe97625683813c879b1b4c2c09c5a3e9a62b1878241a6899c14ea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 231c4a69b11f6af79c1495a0e5a85909686ea8db946935224b7825cfb53827ed
MD5 0fba260396c650c8a649db24a7de5711
BLAKE2b-256 a320bb0dd375496eda587fba1aded16b7631cb9d849c0916f565bb6d4776d193

See more details on using hashes here.

File details

Details for the file cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ef216d13ac8d24d9cd851776662f75f8d29c9f2d05cdcc2d34a18d32463a9b0b
MD5 e9e4ace4246ce8e1c42ca217d33a64ec
BLAKE2b-256 fb5c5328db5c433ebff52cad5632b090a5e29091dc8eb127d753ae59919e3c10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: PyPy, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5c49c9e8fb26a567a2b3fa0343c89f5d325447956cc2fc7231c943b29a973712
MD5 af8a554badbca485dca54d50749abab5
BLAKE2b-256 a2b5a54b4394d02cccbcd17826091e968d19c05b395b6cf98839206bfba97e40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: PyPy, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 aa94d617a4cd4cdf4af9b5af65100c036bce22280ebb15d8b5262e8273ebc6ba
MD5 ba553c3059ae4578539c69696278ef04
BLAKE2b-256 497dfb4dcfa2cd1bc254b08478be0c288ae2cab976b97603bf56736f697c6559

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a776bae1629c8d7198396fd93ec0265f8dd2341c553dc32b976168aaf0e6a636
MD5 d2bf3d657160d6d36e2834f8dc61d595
BLAKE2b-256 fb7ca8ebda3247d173b7325928ee7e47dab8a83c86ddcfbe84b3b686c709a035

See more details on using hashes here.

File details

Details for the file cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2049f8b87f449fc6190350de443ee0c1dd631f2ce4fa99efad2984de81031681
MD5 591dbc2c4523eabcf815a3737c24665e
BLAKE2b-256 4f15cdeeaadd9b78b890acb9581b3da4827e60e8ab0cd60aba6bddedbf05fc58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2deab5ec05d83ddcf9b0916319674d3dae88b0e7ee18f8962642d3cde0496568
MD5 6b25eada81d80048ef433f728798f3a0
BLAKE2b-256 01f84b1e18533ac4af6eb77a982df0729a24b75d171bb5d068c90e8efb2f3e74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 f6a5a85beb33e57998dc605b9dbe7deaa806385fdf5c4810fb849fcd04640c81
MD5 5d8173c84753f2b301e4988790686c31
BLAKE2b-256 bcf7fc2b32b900eb7091945e6d596b74f24d79474b6b6c8c5f18d1b16d64e93d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 24469d9d33217ffd0ce4582dfcf2a76671af115663a95328f63c99ec7ece61a4
MD5 70114cbe08784a884438906bd8e4f8ea
BLAKE2b-256 d50546374d3091e9c0a5a9a7701938541fb14589f7339f8b7c095fad4269ccc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8982c19bb90a4fa2aad3d635c6d71814e38b643649b4000a8419f8691f20ac44
MD5 d85380e247576300617d170fea93b327
BLAKE2b-256 0b1f4c63ccf170b7d5affd1d0e3945802b1b18dc5f92714976d69ed87ed35b14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 b17d83b3d1610e571fedac21b2eb36b816654d6f7496004d6a0d32f99d1d8120
MD5 10a116c8304a40456a013b2de45520c9
BLAKE2b-256 95b38f1dbdd1c732b15a8c868e683a6f16c7f90aa19188b2809271d8bdc505e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d91bc9f535599bed58f6d2e21a2724cb0c3895bf41c6403fe881391d29096f1d
MD5 d10052f98207c07ea438a3cc213cc560
BLAKE2b-256 4e2decb48944dbed6bba8ffc91c41ead348aa298ccd7774bd57064e7ce8570b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4c702855cd3174666ef0d2d13dcc879090aa9c6c38f5578896407a7028f75b9f
MD5 388765599abbd7827a50f8f357b275e9
BLAKE2b-256 f96f81c4ede583f0f9821d1024fb0524a4f663f63c2f23a2f9047841a2958385

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 684993ff6f67000a56454b41bdc7e015429732d65a52d06385b6e9de6181c71e
MD5 d8f916d666580d91cfd4ee0e34c1e28e
BLAKE2b-256 d0287a5c237117742cd5fe10ffbcd6a68db42446fa7275ea446102f249056273

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6fbbbb8aab4053fa018984bb0e95a16faeb051dd8cca15add2a27e267ba02b58
MD5 325e0b160b386928a623cc62681115b4
BLAKE2b-256 42489a5384827fade0a9f48231ad0ffa05f21b4b8ab3764273b5082c1bfd6b84

See more details on using hashes here.

File details

Details for the file cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 494106e9cd945c2cadfce5374fa44c94cfadf01d4566a3b13bb487d2e6c7959e
MD5 dedbe8901be8a55738bb2531edfc18b5
BLAKE2b-256 c0f5831b789b1eb6c754d3da1598242fff137eae0388cf0b4fdc5fc33f24d32c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6+, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 97199a13b772e74cdcdb03760c32109c808aff7cd49c29e9cf4b7754bb725d1d
MD5 547266a0414bde49cdf5811c8e7bde65
BLAKE2b-256 a12bccb956ffb48871ac31e445a840dff9bb485394522cc697611cd41aae9a46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.0-cp36-abi3-macosx_10_10_universal2.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.6+, macOS 10.10+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-36.0.0-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 9511416e85e449fe1de73f7f99b21b3aa04fba4c4d335d30c486ba3756e3a2a6
MD5 c6f80aaff311f3168b20e91e25d713d0
BLAKE2b-256 0c8591ea89b438497c615622fd3db663c6e0f4b064f3f0dcbcc535f9a813dd0c

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