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

Uploaded Source

Built Distributions

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

Uploaded PyPyWindows x86-64

cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.0 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-36.0.2-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.2-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.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.4 MB view details)

Uploaded PyPymacOS 10.10+ x86-64

cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.0 MB view details)

Uploaded PyPymanylinux: glibc 2.24+ x86-64

cryptography-36.0.2-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.2-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.2-cp36-abi3-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

cryptography-36.0.2-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.2-cp36-abi3-musllinux_1_1_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.6+musllinux: musl 1.1+ ARM64

cryptography-36.0.2-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.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view details)

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

cryptography-36.0.2-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.2-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.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.6 MB view details)

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

cryptography-36.0.2-cp36-abi3-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6+macOS 10.10+ x86-64

cryptography-36.0.2-cp36-abi3-macosx_10_10_universal2.whl (4.7 MB view details)

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

File details

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

File metadata

  • Download URL: cryptography-36.0.2.tar.gz
  • Upload date:
  • Size: 572.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2.tar.gz
Algorithm Hash digest
SHA256 70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9
MD5 e0a052d459b382d0bc3c80c0d8075441
BLAKE2b-256 10a751953e73828deef2b58ba1604de9167843ee9cd4185d8aaffcb45dd1932d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 e167b6b710c7f7bc54e67ef593f8731e1f45aa35f8a8a7b72d6e42ec76afd4b3
MD5 7fcfb868bf595794ecad71f74f0f29a6
BLAKE2b-256 c6aacf00e4cfd762260fba45ae84ce76c7a52f2e5a7f57fbab4e8aee7c443072

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: PyPy, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 1f64a62b3b75e4005df19d3b5235abd43fa6358d5516cfc43d87aeba8d08dd51
MD5 e036d152accc32966d7b56dbb044f410
BLAKE2b-256 7a87e9d75ec7b99fc7e8f0a0d8fb626264c7599591a24d1c51509cf032eeb64a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82740818f2f240a5da8dfb8943b360e4f24022b093207160c77cadade47d7c85
MD5 4294d43fb61e7a8f6c0b76ae4c0e5258
BLAKE2b-256 4f8648f9b8ea730bedeff6c4b07d58b581f02bf3dd805da0aa941009630cae3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8897b7b7ec077c819187a123174b645eb680c13df68354ed99f9b40a50898f77
MD5 e094afb9d66abd0c23ccef449863434d
BLAKE2b-256 014992db82cb344fcd511b324e2922d4d9183f1e4864b39087ec1b433cc9e69a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0a3bf09bb0b7a2c93ce7b98cb107e9170a90c51a0162a20af1c61c765b90e60b
MD5 e540a2cd1e427e344f23a461bb3c459f
BLAKE2b-256 8697f224dc8f5f7363e994f55583cd1b424c08fa443e00f095b42cfcc7f9722d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: PyPy, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 da73d095f8590ad437cd5e9faf6628a218aa7c387e1fdf67b888b47ba56a17f0
MD5 85d46ef150bd7faa4004cebd802fe10e
BLAKE2b-256 16cb5b04bd88f421b003f5282be9d43866bd3d86adebe06a2664ff22d4bd7c8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2b3d199647468d410994dbeb8cec5816fb74feb9368aedf300af709ef507e3e
MD5 919f9e608d19dc3d542f48fe7e2d623e
BLAKE2b-256 d322baef27c1a207dc4bc5d4474e9528f20f1e9ddb79d78a9907211106375c9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 32db5cc49c73f39aac27574522cecd0a4bb7384e71198bc65a0d23f901e89bb7
MD5 df6b3bad1c1197054155e8208f3085ea
BLAKE2b-256 6ee5c9349c03fcf064da29b7250907f82ee8ea7bc0d340cf9d2f17a8d8fbb68b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 53e0285b49fd0ab6e604f4c5d9c5ddd98de77018542e88366923f152dbeb3c29
MD5 4c29582aea1285eafa6bb705f14c7a09
BLAKE2b-256 46cdabfb77b8a0666f38ec321e49eef3733cbecb3caf79926ec14a7fe3b2217f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 f64b232348ee82f13aac22856515ce0195837f6968aeaa94a3d0353ea2ec06a6
MD5 a8b7619f4a9fad5cc3e7c1972fb10a3e
BLAKE2b-256 ab0ae62ad333eaacd761614c6d56c62ba5ad4ba3f36ada2760e173b712276a38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ca9f686517ec2c4a4ce930207f75c00bf03d94e5063cbc00a1dc42531511b7eb
MD5 9e0cd5a4bc7e3799e35eb28357af6557
BLAKE2b-256 027ddbea1d6e6398f09f232409d2afab06d6a2835e052827bc15ee1c82f68fb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-cp36-abi3-musllinux_1_1_aarch64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ec6597aa85ce03f3e507566b8bcdf9da2227ec86c4266bd5e6ab4d9e0cc8dab2
MD5 ee290000349ee4ec7bb0fe4542246875
BLAKE2b-256 633fb82df01f30b739c8d150132b474f08ba783b8944812a2b1bfeb7e55f73a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c2c5250ff0d36fd58550252f54915776940e4e866f38f3a7866d92b32a654b86
MD5 4bbe39ded20070ddfbe2b8667a68353c
BLAKE2b-256 01864379b5eaafa5ea4b0081fa65a72849d6bba98e35c1da66f4b7a86878714d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b2d54e787a884ffc6e187262823b6feb06c338084bbe80d45166a1cb1c6c5bf
MD5 8db7ca7308a4a04a07d3b777ecb1a7c3
BLAKE2b-256 80fd19a0f5273141a128926b3564e1ba1e9563a8e38ae9c334bc14bf2e79fc9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8241cac0aae90b82d6b5c443b853723bcc66963970c67e56e71a2609dc4b5eaf
MD5 40dda1839b2eba22884f0c096dac8ac2
BLAKE2b-256 b8824f676d5495e5abd1b2f8621e003dc0230a2661a6332adab39b153a0ccf4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 7be666cc4599b415f320839e36367b273db8501127b38316f3b9f22f17a0b815
MD5 39c4551a1f1816191894c9ac7a9667c3
BLAKE2b-256 133c496203aae43589696bed4334efb6db2f2f177d42ab48b293252e148634d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ea634401ca02367c1567f012317502ef3437522e2fc44a3ea1844de028fa4b84
MD5 81a60985319c86a3c1d48d376cc04721
BLAKE2b-256 1370e35fc8a742bfc030df62e017e9eafb103ac5c2e3cea1ff340fd9af9d365e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6+, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 4881d09298cd0b669bb15b9cfe6166f16fc1277b4ed0d04a22f3d6430cb30f1d
MD5 266e7101c074a33de37e3be227e0c4f4
BLAKE2b-256 fc07a85e674b43c9872a09e1424b7b59afdee5ee54d6c256900297a3b7ce283d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-36.0.2-cp36-abi3-macosx_10_10_universal2.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: CPython 3.6+, macOS 10.10+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for cryptography-36.0.2-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 4e2dddd38a5ba733be6a025a1475a9f45e4e41139d1321f412c6b360b19070b6
MD5 58a44441e36816d3c291a135d13f1682
BLAKE2b-256 5da9b73a5d6f50a7b2f6ef65a2d2a14e848b62dfc79d10d29277586a94cf1f23

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