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

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy manylinux: glibc 2.28+ x86-64

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

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy manylinux: glibc 2.28+ x86-64

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

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

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

Uploaded CPython 3.7+ Windows x86-64

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

Uploaded CPython 3.7+ Windows x86

cryptography-41.0.0-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.0-cp37-abi3-musllinux_1_1_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.1+ ARM64

cryptography-41.0.0-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.0-cp37-abi3-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ ARM64

cryptography-41.0.0-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.0-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.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: cryptography-41.0.0.tar.gz
  • Upload date:
  • Size: 628.3 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.0.tar.gz
Algorithm Hash digest
SHA256 6b71f64beeea341c9b4f963b48ee3b62d62d57ba93eb120e1196b31dc1025e78
MD5 bffe949ea8a4f79537a23b09b6be5681
BLAKE2b-256 bf923301a5d4fb734290a8bca5a9aad61ea61327ed53cb19be110d4f3548df76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 0ddaee209d1cf1f180f1efa338a68c4621154de0afaef92b89486f5f96047c55
MD5 421513ba6783bf405029f1f37ff5c6e3
BLAKE2b-256 38d9a8d08aada88bcb8ea4f1a0a34e3d9cf3ce0faea3df69e54c232e88ab8b32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14754bcdae909d66ff24b7b5f166d69340ccc6cb15731670435efd5719294895
MD5 e180730cbeeac0f1f7f7272a1e355e75
BLAKE2b-256 bfd5d68700d996a35c7041c5183aab35572064da0b7ba1dfb7526269a7faeeb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a4fc68d1c5b951cfb72dfd54702afdbbf0fb7acdc9b7dc4301bbf2225a27714d
MD5 0cdf27bb23bfb39abba14e884ff6bc5a
BLAKE2b-256 70970c178505eb329f0c338888ab3fd058101cb5054fc5cf4b9e2edce3e340f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bf8fc66012ca857d62f6a347007e166ed59c0bc150cefa49f28376ebe7d992a2
MD5 aede6f376a15ac2d6c617902d5cebc31
BLAKE2b-256 3150db80a57bbaa2cd29162449ac7dd5850a8f5e7c547c2842fd6458e2b62c04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 5c1f7293c31ebc72163a9a0df246f890d65f66b4a40d9ec80081969ba8c78cc9
MD5 39acdd2c5b46c1f51bd677c7bfe21a3b
BLAKE2b-256 f4e2179443f7fc30627407ffb0a2d17f999e7c54b6d726ef6a82411282616411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5d0bf9b252f30a31664b6f64432b4730bb7038339bd18b1fafe129cfc2be9be
MD5 2666ac4596e4d702f74410f7c783b53d
BLAKE2b-256 93f7730cc2ea1677300f59e7978b6966a4de32fdc81b9e7a2adf1ae669d8cf43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b846d59a8d5a9ba87e2c3d757ca019fa576793e8758174d3868aecb88d6fc8eb
MD5 27e5567285ce1df96389f92512c26b9b
BLAKE2b-256 feb8d0c220de2854ff65071da904ae5338bbbfa04c23a0f8365dd5641f349480

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 88ff107f211ea696455ea8d911389f6d2b276aabf3231bf72c8853d22db755c5
MD5 f87205b1e065bcb6e7933428222d8c9b
BLAKE2b-256 b53ae14db0de25b4b5633975f09e3ba5c39d8b8358935bbf29ad3ab9ffca7155

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 344c6de9f8bda3c425b3a41b319522ba3208551b70c2ae00099c205f0d9fd3be
MD5 484bc584cf8a5bcf9d7681da567522f8
BLAKE2b-256 ab40bb01066d306329d3f0e440c5e9863f08d29e783c827ce74a823889d56977

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-41.0.0-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.0-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 34d405ea69a8b34566ba3dfb0521379b210ea5d560fafedf9f800a9a94a41928
MD5 155674481c37bec01190a1f9c4a0d434
BLAKE2b-256 9b001cb49039236a71b9c8511ec3ba7d5153c22b022d67518499f34dcafc8c2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7d92f0248d38faa411d17f4107fc0bce0c42cae0b0ba5415505df72d751bf62d
MD5 73024496d8ad3170f0aea659a3bbeff7
BLAKE2b-256 67da096e2074dee14fa5793ed60a39efcab0d9851a67859bf468b1862d53e35a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b7f2f5c525a642cecad24ee8670443ba27ac1fab81bba4cc24c7b6b41f2d0c75
MD5 21c497e855e2ff22281ebfc4b643dc4e
BLAKE2b-256 f7a383dc953152063db9d7a2d3349d913576fc672b71523581ddb0faa6af22bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f65e842cb02550fac96536edb1d17f24c0a338fd84eaf582be25926e993dde4
MD5 edd7772abe07561dc7cdcf3527f021ca
BLAKE2b-256 92b622b9b21fecfb03a90ce9393053f054b2742b00e704c20a595cf4c15f975e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4ab14d567f7bbe7f1cdff1c53d5324ed4d3fc8bd17c481b395db224fb405c237
MD5 6ba6e447ab462030da1d9e86ae938264
BLAKE2b-256 a390182588b47bbe52438193d93a9901d0dddfe25b7abdc25196473f896e63e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84a165379cb9d411d58ed739e4af3396e544eac190805a54ba2e0322feb55c46
MD5 db90c65802f20d5d79ba7f63cd0e3085
BLAKE2b-256 7694e5b948856427b66575e194764e54bb43669e7764396868d015f1e40b5e3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3680248309d340fda9611498a5319b0193a8dbdb73586a1acf8109d06f25b92d
MD5 40a8465e9f147f759c1bc67d1ce4beb4
BLAKE2b-256 5b971096bb43ff0f9f40a6a04fc26fe209b2991805257a2c2e32f1076201f2dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8362565b3835ceacf4dc8f3b56471a2289cf51ac80946f9087e66dc283a810e0
MD5 d265b6289f915c47aabd12170a8eebc2
BLAKE2b-256 4e60e02e88f973fcf2366008d1e0b62e9ef6e432e00d6edae0e47371fe624ccb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.0-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 3c5ef25d060c80d6d9f7f9892e1d41bb1c79b78ce74805b8cb4aa373cb7d5ec8
MD5 609b5f2d5d25bbb10c8d8dc9f4d9e325
BLAKE2b-256 e43106d6c33f93165c0fc80008fdeab4543b1ce7ceebcc2cf66da70e5e1daaad

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