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

Uploaded Source

Built Distributions

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ ARM64

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

Uploaded PyPymacOS 10.12+ x86-64

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

Uploaded CPython 3.7+Windows x86-64

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

Uploaded CPython 3.7+Windows x86

cryptography-41.0.4-cp37-abi3-musllinux_1_1_x86_64.whl (4.5 MB view details)

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

cryptography-41.0.4-cp37-abi3-musllinux_1_1_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.7+musllinux: musl 1.1+ ARM64

cryptography-41.0.4-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.4-cp37-abi3-manylinux_2_28_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.28+ ARM64

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

File metadata

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

File hashes

Hashes for cryptography-41.0.4.tar.gz
Algorithm Hash digest
SHA256 7febc3094125fc126a7f6fb1f420d0da639f3f32cb15c8ff0dc3997c4549f51a
MD5 e53b22d4baae5430e881f2f516effa67
BLAKE2b-256 ef3387512644b788b00a250203382e40ee7040ae6fa6b4c4a31dcfeeaa26043b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 b5f4dfe950ff0479f1f00eda09c18798d4f49b98f4e2006d644b3301682ebdca
MD5 4de560e658bc403f7d6b7768b37f61f7
BLAKE2b-256 a46384ee382ab855d4e8be2a61914c552e4d60ef3b912ea8d6d4ff7ced03da8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37480760ae08065437e6573d14be973112c9e6dcaf5f11d00147ee74f37a3829
MD5 7087a344e68a234b1177b866b647ac05
BLAKE2b-256 66f750628f757a88a356ed3c62b937ef9df7d951fa8953bdfcad4055c206305c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 86defa8d248c3fa029da68ce61fe735432b047e32179883bdb1e79ed9bb8195e
MD5 6976edb954c6178a298baa0d750d0f46
BLAKE2b-256 dcb364beda9e9a6073a3ea1c9d12ed7d8d131e9e8696d1a58f8384d70bf353f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 004b6ccc95943f6a9ad3142cfabcc769d7ee38a3f60fb0dddbfb431f818c3a67
MD5 aa17cecdd42948e1fe51afca45918205
BLAKE2b-256 5bde33210019cb021bbe3b934a5791472d8a6c2d27e5e3fec70e95b715a1c669

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 047c4603aeb4bbd8db2756e38f5b8bd7e94318c047cfe4efeb5d715e08b49311
MD5 db372515aea0908eb63f777f18a160fe
BLAKE2b-256 36bb3b082b9de8cc2c09ae0e4341670ea3f96164af290fabd005e180725f94c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ac4f9ead4bbd0bc8ab2d318f97d85147167a488be0e08814a37eb2f439d5cf6
MD5 a71c3fa37231e015c68ac74c22c8c11c
BLAKE2b-256 f9ea342ab02337bdc9f154f187114df73a0beac876c99b2f172aba816d966f66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0d9409894f495d465fe6fda92cb70e8323e9648af912d5b9141d616df40a87b8
MD5 1bc43a6a8dccd939805392a412f5821d
BLAKE2b-256 81aae972c2a19d6207bda7ee077184b6fa8d6772fca40057b7ce099b691542f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c3391bd8e6de35f6f1140e50aaeb3e2b3d6a9012536ca23ab0d9c35ec18c8a91
MD5 9306101b4ddf932d2994e41a87a6cccc
BLAKE2b-256 b0e1e72d4092537223101fbb3b496edc0c9434d349291716a57b908709db9594

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 efc8ad4e6fc4f1752ebfb58aefece8b4e3c4cae940b0994d43649bdfce8d0d4f
MD5 cd8886ab5284be80e7cc2958938df6ac
BLAKE2b-256 a4a8962bf3729d0453ac7b6673b2e862cdf75d4b39edfccba3d1bcf3919ad35b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93530900d14c37a46ce3d6c9e6fd35dbe5f5601bf6b3a5c325c7bffc030344d9
MD5 cb85340c732495acc1c79780f3a0472e
BLAKE2b-256 e65e40bcb68a72bc4ad4e4b8e8f3199c89508b9bcfda2e27e5b261cb6b6fbe4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5b72205a360f3b6176485a333256b9bcd48700fc755fef51c8e7e67c4b63e3ac
MD5 f5af3903484835902b1dea0cde7e3f8d
BLAKE2b-256 c9b5d149880b3017277403b7cdaa0b3a3d288ac6c69bd0fd3cce554128510d6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7e53db173370dea832190870e975a1e09c86a879b613948f09eb49324218c14d
MD5 124588125dbc4c60a0e5dc10e2bcf85e
BLAKE2b-256 7c696316af099988e8919e37d0e70b30dca0823f51b41d8f340297acb6871164

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c880eba5175f4307129784eca96f4e70b88e57aa3f680aeba3bab0e980b0f37d
MD5 305f5258a4d8dc91419fdcda2c6c48f0
BLAKE2b-256 d77829d8332bebfe3c2d49a63fb23e1c9fc73a13507b5206b98479fda04c993b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-41.0.4-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.5

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 3b224890962a2d7b57cf5eeb16ccaafba6083f7b811829f00476309bce2fe0fd
MD5 20c87f76af9aec02db75f1566aa78ba9
BLAKE2b-256 7291b7121bfea5c4111af1794985703dc9783242c387a8a0ec798f64b8ad5bda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9eeb77214afae972a00dee47382d2591abe77bdae166bda672fb1e24702a3860
MD5 ba2708eaa8fa73905a7e85ab4671d9cc
BLAKE2b-256 ae8ec2466577a0f29421a74c5e0c7731274c3f82504e0dd08a3ef0489822f0cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5a0f09cefded00e648a127048119f77bc2b2ec61e736660b5789e638f43cc397
MD5 94983ff351488104f018f6f18bf086d3
BLAKE2b-256 a25cb821ad3b2f1506b8042500edfb671c30efb6eca7dc5aa63236342338669f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2ed09183922d66c4ec5fdaa59b4d14e105c084dd0febd27452de8f6f74704143
MD5 1427334956095c4041c9d85ee9cc70a7
BLAKE2b-256 eb4bf86cc66c632cf0948ca1712aadd255f624deef1cd371ea3bfd30851e188d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 23a25c09dfd0d9f28da2352503b23e086f8e78096b9fd585d1d14eca01613e13
MD5 daf132b9970d005258cfa87d055687e0
BLAKE2b-256 a2d0b8cf2c1367f850011d4618348760b23bb1268efba9e6ca03c063803e8763

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e40211b4923ba5a6dc9769eab704bdb3fbb58d56c5b336d30996c24fcf12aadb
MD5 051e544f02f352ed12a9847ec5f037dc
BLAKE2b-256 251df86ce362aedc580c3f90c0d74fa097289e3af9ba52b8d5a37369c186b0f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cecfefa17042941f94ab54f769c8ce0fe14beff2694e9ac684176a2535bf9714
MD5 fb0d954eaad9d3c2a3e68e88c6eed60b
BLAKE2b-256 e2b511bcc59ad5a7121fe1279a716f3e212f6b37ef993726b06c25aa3aefa0a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 35c00f637cd0b9d5b6c6bd11b6c3359194a8eba9c46d4e875a3660e3b400005f
MD5 86c5d1a881c43c590da24b5ae2806231
BLAKE2b-256 bbc1e8ca19a3e9ac5c867efa6f23ce0b119ad00a16b6019e49a298b8c1fe6866

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.4-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 80907d3faa55dc5434a16579952ac6da800935cd98d14dbd62f6f042c7f5e839
MD5 c06d738b00817be6be4d1bb31bf2b83a
BLAKE2b-256 065df992c40471b60b762dca2b118c0a7837e446bea917f2be54b8f49802fe5e

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