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

Uploaded Source

Built Distributions

cryptography-36.0.1-pp38-pypy38_pp73-win_amd64.whl (2.1 MB view details)

Uploaded PyPy Windows x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

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

Uploaded PyPy manylinux: glibc 2.17+ x86-64

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

Uploaded PyPy manylinux: glibc 2.12+ x86-64

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

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

Uploaded PyPy manylinux: glibc 2.17+ x86-64

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

Uploaded PyPy manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

cryptography-36.0.1-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.1-cp36-abi3-musllinux_1_1_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

cryptography-36.0.1-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.1-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.1-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.1-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+ ARM64 manylinux: glibc 2.24+ ARM64

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

File metadata

  • Download URL: cryptography-36.0.1.tar.gz
  • Upload date:
  • Size: 572.1 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.1.tar.gz
Algorithm Hash digest
SHA256 53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638
MD5 71c126b9d2e59d201fe2688a525f7dc6
BLAKE2b-256 f94b1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316
MD5 86c75839401ba651a5b8cc2279e264c9
BLAKE2b-256 991fd6a4ba168d3808689b30668d2d792bb10e7fb56532e36a78c9e2bc677467

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903
MD5 4b63a0aece876cef4f43734bb683da5e
BLAKE2b-256 bfb554c756e7be5c004123fbc93c4abaab12ba2288a52ffc5a3489315cdb0275

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46
MD5 300489cee9146595a7e8654b45c1305c
BLAKE2b-256 742ec14d151d9c7e3041118918e5557971e9185d8b94239b96c3e646def77086

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee
MD5 e4ac08adfe432a3b26f9edc2a1c33685
BLAKE2b-256 3015955ae09378f75b4a46010b0ad2e512110fb973b6a4a3be5d897ee227f945

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac
MD5 d971bd200872392e590f32642e5501e2
BLAKE2b-256 f5d9fe9dc08c9e351c86aadc13f1456b1d60410d17455d07e4a16c9e171dce5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94
MD5 0a7dab8e28b4852db3fc4c67beb8da59
BLAKE2b-256 3d80edd5d4d263d7cc22981e31cbc96fbcf5efd8f61eaaec77e66d93cb80afb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1
MD5 f7078da8cd20504b8c8ba9470e25f348
BLAKE2b-256 297a6c91bf69c8ee8461aaa577593dc22a3c1759e21195e23654748876582598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9
MD5 b179a57471fed3f5baa8b87f7c6d5e98
BLAKE2b-256 cdd8a562cced6a4a1c8d02e74620b8074c47e4a6a060fbfdeda9d7bacd425b2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf
MD5 e57d897dda11f703dbf5b09c60182078
BLAKE2b-256 46393c255cc81d7a804bb92d129bc36a0d8b1e169a654c2a5e869066b0a6a67d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca
MD5 0072ada7cefbeb466e9770f112d4e9cf
BLAKE2b-256 da3bd7d9cb1320fdf9d10abeff590674f00506d16a4d850a8b696986026baba0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3
MD5 2706139ec33e6425c84294966955e6fa
BLAKE2b-256 2381ec8af4ddfc7467faee71c606b8398b4a7f89d0bfd3c0d8922805a6b6de03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f
MD5 64414ef83357d0894b5204278daadbbe
BLAKE2b-256 c58ca6af8542a22c6212b782465ec1ef5e3dd881eaef4b47d660a3404a4cc5ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2
MD5 630a5f0b204233a71ad07f482aa8ba17
BLAKE2b-256 d80cc0f8790bdeff9813722811500fd735c40a6c50fe0b4f8f6f4444f7a49cc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3
MD5 ac6bd6d0e73af169fbc2e7f1cec36e3d
BLAKE2b-256 a79fa725c8f434d24ae656b61539b3c3d22325e8b65331c3f8f943c4cf8858d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12
MD5 38b251027774b64c88d915fc8e1f29ff
BLAKE2b-256 f075f75f35ae3f6bd34475e15a3f06933d0aae15800a86c3b0e7acaa2b36f416

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173
MD5 523de29c82ecf588f9a8d361a4e8ae94
BLAKE2b-256 cc67459b61831549f4a11c7e5f6430084be0a8c09fcc8463ccf3c41e823d3778

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a
MD5 dac72191a645be22e213725f24f71726
BLAKE2b-256 0c12a55cf1ed39c2fa9a22448b82c984152fdeb7b30a66e3544eee3bd52b08fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31
MD5 ecf950921b6b5e54206a6fdf0457000b
BLAKE2b-256 fec0f2527015e03da5ed6c8eeeccb8b135eb833d59aa21d37214a69f9a620950

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.1-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.1-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b
MD5 f44eeb4bfca1fec79061219ed3cb289e
BLAKE2b-256 30889966c898dce71045059c315fe4c542a168c47222fc974f191b3e608a94ef

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