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

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.7+ and PyPy3 7.3.10+.

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
b'...'
>>> f.decrypt(token)
b'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-41.0.2.tar.gz (630.1 kB view details)

Uploaded Source

Built Distributions

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

cryptography-41.0.2-pp310-pypy310_pp73-win_amd64.whl (2.5 MB view details)

Uploaded PyPyWindows x86-64

cryptography-41.0.2-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

cryptography-41.0.2-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

cryptography-41.0.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.12+ x86-64

cryptography-41.0.2-pp39-pypy39_pp73-win_amd64.whl (2.5 MB view details)

Uploaded PyPyWindows x86-64

cryptography-41.0.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

cryptography-41.0.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

cryptography-41.0.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.12+ x86-64

cryptography-41.0.2-pp38-pypy38_pp73-win_amd64.whl (2.5 MB view details)

Uploaded PyPyWindows x86-64

cryptography-41.0.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

cryptography-41.0.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

cryptography-41.0.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl (2.7 MB view details)

Uploaded PyPymacOS 10.12+ x86-64

cryptography-41.0.2-cp37-abi3-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

cryptography-41.0.2-cp37-abi3-win32.whl (2.2 MB view details)

Uploaded CPython 3.7+Windows x86

cryptography-41.0.2-cp37-abi3-musllinux_1_1_x86_64.whl (4.4 MB view details)

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

cryptography-41.0.2-cp37-abi3-musllinux_1_1_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+musllinux: musl 1.1+ ARM64

cryptography-41.0.2-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.28+ x86-64

cryptography-41.0.2-cp37-abi3-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.28+ ARM64

cryptography-41.0.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

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

cryptography-41.0.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

cryptography-41.0.2-cp37-abi3-macosx_10_12_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.7+macOS 10.12+ x86-64

cryptography-41.0.2-cp37-abi3-macosx_10_12_universal2.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.12+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: cryptography-41.0.2.tar.gz
  • Upload date:
  • Size: 630.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cryptography-41.0.2.tar.gz
Algorithm Hash digest
SHA256 7d230bf856164de164ecb615ccc14c7fc6de6906ddd5b491f3af90d3514c925c
MD5 218dde9757c27459271235acd993b49c
BLAKE2b-256 93b7b6b3420a2f027c1067f712eb3aea8653f8ca7490f183f9917879c447139b

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 f0dc40e6f7aa37af01aba07277d3d64d5a03dc66d682097541ec4da03cc140ee
MD5 5bf95fd85529d8fec81c96da68fef3ed
BLAKE2b-256 999467edd6fc3567a9f27d00d4c9d7e10fbdb29f1a96e45e5a3f1a033eb13459

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7a9a3bced53b7f09da251685224d6a260c3cb291768f54954e28f03ef14e3766
MD5 d1ac268e30f1cfca07fdf3fb7b450e03
BLAKE2b-256 5226818c8ef610f447ff7fad9b2f65b8eba4330b86da626fb1d3494e3e018477

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 182be4171f9332b6741ee818ec27daff9fb00349f706629f5cbf417bd50e66fd
MD5 97d02eae7e6df5d234efdc9a00c02e63
BLAKE2b-256 2f11eae49bd4e92798e22bf437db95cca9578bd2d4739edfd7a02161d411172e

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a719399b99377b218dac6cf547b6ec54e6ef20207b6165126a280b0ce97e0d2a
MD5 d28ed36a58455bc6550942d783edd474
BLAKE2b-256 e0daa49cca54a54c549e0eff38b86c2532df3c2c1cb9b1efe5076f19940fc015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.2-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 342f3767e25876751e14f8459ad85e77e660537ca0a066e10e75df9c9e9099f0
MD5 37bebc3c068fd6020dd0ff37afc9f0ee
BLAKE2b-256 f832164a56faa1d0d1beb4211a2b93b89d952807478de4c21bcb9aea76ef7775

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a6673c1828db6270b76b22cc696f40cde9043eb90373da5c2f8f2158957f42f
MD5 53984e43aa9139f5b05f4bf9d0554cf3
BLAKE2b-256 b69b339b3edcb00075d89de89c953149d6fef0a712ae484e8dd4cf54d04f5e22

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b332cba64d99a70c1e0836902720887fb4529ea49ea7f5462cf6640e095e11d2
MD5 831962c3024a767614d1a0e4dc095360
BLAKE2b-256 30f4807ee2062e4162e0ddf3f4c36f04904e704a723174e982dfadb1df7dfb36

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f772610fe364372de33d76edcd313636a25684edb94cee53fd790195f5989d14
MD5 955b63d7421c478ad197e82ce831ab87
BLAKE2b-256 2475ceb787721ca3b05a961fa50f6cf7fdf31f7cd723644880751eb2a3187ec0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.2-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 192255f539d7a89f2102d07d7375b1e0a81f7478925b3bc2e0549ebf739dae0e
MD5 b1fe6e1d97c716ed8e3b14bad7948185
BLAKE2b-256 136b4924892ddaaac261d048120a4e261384f954877863a58dafb44e542521aa

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9b6d717393dbae53d4e52684ef4f022444fc1cce3c48c38cb74fca29e1f08eaa
MD5 3bffd145dfe5cb6d112c4be4f37bf368
BLAKE2b-256 c8125a133121ff41518f0b726635df30e487a00a24ab7d343ec823b1fd0a0d95

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7af244b012711a26196450d34f483357e42aeddb04128885d95a69bd8b14b69b
MD5 31a06903a27b9669668446afaf851a15
BLAKE2b-256 6959bf68adc06f7fb3c438406cd24f328a131a3814d6030dfc254b23e34aa635

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 674b669d5daa64206c38e507808aae49904c988fa0a71c935e7006a3e1e83831
MD5 a83d68d0e004fae78cecfba2939129ca
BLAKE2b-256 da3eb5b343391286fad16edb96724355e54a177ea870399769134117cec9b466

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9c3fe6534d59d071ee82081ca3d71eed3210f76ebd0361798c74abc2bcf347d4
MD5 a64b742f0d87b9165f674f416cc530da
BLAKE2b-256 6f14fa7f51806a6204a8534728239c3d5b7f5fee219ccf48ca089d03b72f7573

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-win32.whl.

File metadata

  • Download URL: cryptography-41.0.2-cp37-abi3-win32.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 d124682c7a23c9764e54ca9ab5b308b14b18eba02722b8659fb238546de83a76
MD5 4e3b79ec910184658c4dc624350af0bc
BLAKE2b-256 b353304f8db10d9e8989930354754585ece5de6dd24c0f53201e801ca1264bc2

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2a034bf7d9ca894720f2ec1d8b7b5832d7e363571828037f9e0c4f18c1b58a58
MD5 b909e98f60ed85819e1c0d784483190e
BLAKE2b-256 ad95eeb6810e6d609e767884b7a355d4e578626bac6f437967c830f29d61bc62

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 d73f419a56d74fef257955f51b18d046f3506270a5fd2ac5febbfa259d6c0fa5
MD5 f39f93027eee7a92f7e723a087e1768d
BLAKE2b-256 1d91e6500837edab382373ead974244abf8bc4bc2b9672cfa6defba5237febc9

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 49c3222bb8f8e800aead2e376cbef687bc9e3cb9b58b29a261210456a7783d83
MD5 04b3e920156af5a70995af1b2346ee82
BLAKE2b-256 1ac7b8193a0859fed883738ae99d33fe90edf05c7e3d0fdb1726f8f53d85859e

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 84609ade00a6ec59a89729e87a503c6e36af98ddcd566d5f3be52e29ba993182
MD5 6ab0893e2fc6be7552e5329b7d6d063c
BLAKE2b-256 d558eb08fe49356a31c1627ee0a305e76b9328d02031172bd8624642834e0011

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f14ad275364c8b4e525d018f6716537ae7b6d369c094805cae45300847e0894f
MD5 384e52a9ea431783150b79764a700971
BLAKE2b-256 feeeaa40ae0f8cfb5988736b3a93adba13421dbfe318211d48a2da138a3a346e

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 439c3cc4c0d42fa999b83ded80a9a1fb54d53c58d6e59234cfe97f241e6c781d
MD5 224dcff80bd8762cc69b8d0fde02a474
BLAKE2b-256 057d148896639073563e8d29ecc62bf0061f47609f77c903796b3994117a6c40

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 079347de771f9282fbfe0e0236c716686950c19dee1b76240ab09ce1624d76d7
MD5 040807f9243c4f1945d83c88a32b880d
BLAKE2b-256 f0f749c9d11c7ef9d335d6916c4360ec0c299c523cf12c502323a85379c1e7b9

See more details on using hashes here.

File details

Details for the file cryptography-41.0.2-cp37-abi3-macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for cryptography-41.0.2-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 01f1d9e537f9a15b037d5d9ee442b8c22e3ae11ce65ea1f3316a41c78756b711
MD5 89ea3d635a654054e86d3cdc86ec5a69
BLAKE2b-256 5aaec5493024f3d9bef59021085f08bf37afd0bac50c7764cdc58327245df213

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