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

Uploaded Source

Built Distributions

cryptography-41.0.7-pp310-pypy310_pp73-win_amd64.whl (2.6 MB view details)

Uploaded PyPy Windows x86-64

cryptography-41.0.7-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.7-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.7-pp39-pypy39_pp73-win_amd64.whl (2.6 MB view details)

Uploaded PyPy Windows x86-64

cryptography-41.0.7-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.7-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.7-pp38-pypy38_pp73-win_amd64.whl (2.6 MB view details)

Uploaded PyPy Windows x86-64

cryptography-41.0.7-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (4.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.7-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.7-cp37-abi3-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7+ Windows x86-64

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

Uploaded CPython 3.7+ Windows x86

cryptography-41.0.7-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.7-cp37-abi3-musllinux_1_1_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.1+ ARM64

cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB view details)

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

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

Uploaded CPython 3.7+ manylinux: glibc 2.28+ ARM64

cryptography-41.0.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

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

cryptography-41.0.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

cryptography-41.0.7-cp37-abi3-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

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

File metadata

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

File hashes

Hashes for cryptography-41.0.7.tar.gz
Algorithm Hash digest
SHA256 13f93ce9bea8016c253b34afc6bd6a75993e5c40672ed5405a9c832f0d4a00bc
MD5 c06f01c4bc95327c2e4378589ed5a193
BLAKE2b-256 ceb313a12ea7edb068de0f62bac88a8ffd92cc2901881b391839851846b84a81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 d5ec85080cce7b0513cfd233914eb8b7bbd0633f1d1703aa28d1dd5a72f678ec
MD5 c9418a5bcb3703c4f116c9df8e5b9670
BLAKE2b-256 319e30f98ba184be2792f77437607e23b08975ba7876f6a0a0d101df9ff5d180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e3114da6d7f95d2dee7d3f4eec16dacff819740bbab931aff8648cb13c5ff5e7
MD5 eb86761c16bbcce65e0da5391a1e6f18
BLAKE2b-256 f42b96fd47dff43cdeb3e24e962fec9ed6ffa1369320146eb95524088265fa00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b640981bf64a3e978a56167594a0e97db71c89a479da8e175d8bb5be5178c003
MD5 b8de813c3621b22f706d31ddcb42e5c8
BLAKE2b-256 54f43eec29ab2fdd673de8f44af3876b32248eb79550ced822363e35da1644d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 079b85658ea2f59c4f43b70f8119a52414cdb7be34da5d019a77bf96d473b960
MD5 1249c5178b6110172fa57fb33eb0d3bf
BLAKE2b-256 26ab59f271c8f027b8068bbf4dfd6e3ad4c6fc20df0b108ee29c64a1036ba4ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 d6c391c021ab1f7a82da5d8d0b3cee2f4b2c455ec86c8aebbc84837a631ff309
MD5 8e9e59d7c83a0c8128be5c0905640573
BLAKE2b-256 592d6a6700968097ed41e48bc61405f862ef4e8924d0ab53a40b0e0fec4f0008

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5ca78485a255e03c32b513f8c2bc39fedb7f5c5f8535545bdc223a03b24f248
MD5 201425cbd6a51fa7ebc98eabba30e5d1
BLAKE2b-256 79689767a3fb985515d3c34221c3671043cda57b1f691046ad8aae355fb2a8a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c7f3201ec47d5207841402594f1d7950879ef890c0c495052fa62f58283fde1a
MD5 4d38e24a631c876a2aba3e012f40d9b0
BLAKE2b-256 0dbfe7a1382034c4feaa77b35147138ff2bc8ae47a2fa7e2838fcdd41d2d0f2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 48a0476626da912a44cc078f9893f292f0b3e4c739caf289268168d8f4702a39
MD5 e090de0f1103ea10af4afe11bcd01988
BLAKE2b-256 b91975d3e8b9b814c09eef76899fea542473273311ab9bfaa1ca4e22c112e660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 09616eeaef406f99046553b8a40fbf8b1e70795a91885ba4c96a70793de5504a
MD5 bfdd584329241754719725bbb48565d7
BLAKE2b-256 3b37da734cab133cc0b873d3caa31d73bba2c3cdc8423dc3d443095a87b3b036

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68a2dec79deebc5d26d617bfdf6e8aab065a4f34934b22d3b5010df3ba36612c
MD5 e9165062097477872906bd98e2722abf
BLAKE2b-256 3c8f9f5f4d9c00f030e81eda69e689c9777fe665bf34045cec2fd5e71b4859b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 37a138589b12069efb424220bf78eac59ca68b95696fc622b6ccc1c0a197204a
MD5 0190537cc72612f7f8a6c876a0ab3a12
BLAKE2b-256 c946c488acbc62aedb14c1082c31bd5062caf8881530e97d2443ce33589f2053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7a698cb1dac82c35fcf8fe3417a3aaba97de16a01ac914b89a0889d364d2f6be
MD5 ca695bf905bfb01f9c2a0d44cbdbf091
BLAKE2b-256 2c5df9ae5e819dcd2618b2d3e671b22c26b5db1da30414af399e4f624b3fe6cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 90452ba79b8788fa380dfb587cca692976ef4e757b194b093d845e8d99f612f2
MD5 1a95f7208763765fd3fef11e18632173
BLAKE2b-256 f623b28f4a03650512efff13a8fcbb977bac178a765c5a887a6720bee13fa85b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-41.0.7-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.11.6

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 f983596065a18a2183e7f79ab3fd4c475205b839e02cbc0efbbf9666c4b3083d
MD5 6ecb712e9b60be442d36e4ffc911df4a
BLAKE2b-256 f34f11b739e95598db236013cc9efb4e3d02b51dd0861c85470c3fe42720ef5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 49f0805fc0b2ac8d4882dd52f4a3b935b210935d500b6b805f321addc8177406
MD5 e26f44c9b6440b8f23d0a504fd1f9a96
BLAKE2b-256 c507826d66b6b03c5bfde8b451bea22c41e68d60aafff0ffa02c5f0819844319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 af03b32695b24d85a75d40e1ba39ffe7db7ffcb099fe507b39fd41a565f1b157
MD5 30616357ddf4b768356cee3310ad6fdd
BLAKE2b-256 b64a1808333c5ea79cb6d51102036cbcf698704b1fc7a5ccd139957aeadd2311

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43f2552a2378b44869fe8827aa19e69512e3245a219104438692385b0ee119d1
MD5 65ca27d709ff936a0506cd0aaf80381a
BLAKE2b-256 62bd69628ab50368b1beb900eb1de5c46f8137169b75b2458affe95f2f470501

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5429ec739a29df2e29e15d082f1d9ad683701f0ec7709ca479b3ff2708dae65a
MD5 81966cb7ba1c9425bd55d9b51a74fc55
BLAKE2b-256 3e81ae2c51ea2b80d57d5756a12df67816230124faea0a762a7a6304fe3c819c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 841df4caa01008bad253bce2a6f7b47f86dc9f08df4b433c404def869f590a15
MD5 6885698db507e81891e0e483406787e2
BLAKE2b-256 14fddd5bd6ab0d12476ebca579cbfd48d31bd90fa28fa257b209df585dcf62a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5a1b41bc97f1ad230a41657d9155113c7521953869ae57ac39ac7f1bb471469a
MD5 77b01952f5ff7eb926ba34d5262bb22c
BLAKE2b-256 68bb475658ea92653a894589e657d6cea9ae01354db73405d62126ac5e74e2f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 928258ba5d6f8ae644e764d0f996d61a8777559f72dfeb2eea7e2fe0ad6e782d
MD5 8dbf94a9779f725198f67ccde5016560
BLAKE2b-256 a976d705397d076fcbf5671544eb72a70b5a5ac83462d23dbd2a365a3bf3692a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.7-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 3c78451b78313fa81607fa1b3f1ae0a5ddd8014c38a02d9db0616133987b9cdf
MD5 a501a17854e4e5e06039041ca3140cb3
BLAKE2b-256 e4735461318abd2fe426855a2f66775c063bbefd377729ece3c3ee048ddf19a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page