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

Uploaded Source

Built Distributions

cryptography-38.0.0-pp39-pypy39_pp73-win_amd64.whl (2.3 MB view details)

Uploaded PyPy Windows x86-64

cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-38.0.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-38.0.0-pp38-pypy38_pp73-win_amd64.whl (2.3 MB view details)

Uploaded PyPy Windows x86-64

cryptography-38.0.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-38.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-38.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-38.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-38.0.0-cp36-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.6+ Windows x86-64

cryptography-38.0.0-cp36-abi3-win32.whl (2.1 MB view details)

Uploaded CPython 3.6+ Windows x86

cryptography-38.0.0-cp36-abi3-musllinux_1_1_x86_64.whl (4.2 MB view details)

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

cryptography-38.0.0-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

cryptography-38.0.0-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB view details)

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

cryptography-38.0.0-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.28+ ARM64

cryptography-38.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (4.0 MB view details)

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

cryptography-38.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

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

cryptography-38.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

cryptography-38.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.7 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

cryptography-38.0.0-cp36-abi3-macosx_10_10_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.6+ macOS 10.10+ x86-64

cryptography-38.0.0-cp36-abi3-macosx_10_10_universal2.whl (5.3 MB view details)

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

File details

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

File metadata

  • Download URL: cryptography-38.0.0.tar.gz
  • Upload date:
  • Size: 599.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.1

File hashes

Hashes for cryptography-38.0.0.tar.gz
Algorithm Hash digest
SHA256 24d4137f3118900db02a2ec9a585d6dec2e79697fc90e84f19e5462dd1eeca44
MD5 a7a163466b9e6d803d8d28ad5f19ed8b
BLAKE2b-256 53e69a144127f3a1c1e6d9c4d305390d82a38e9e0fc7e34166c44f59a1576247

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 2cbd0989e8b2bc7182f4eaa85145e1264a139da94b78adf9440be0d9ccce8898
MD5 fcbf4a76da433684de0ae4271649068a
BLAKE2b-256 716d9aeb0d72b8324e8766a8941c3f2775a358df9a97a4bc964f3f424319a2f6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 723581cbcfe89b83f86ed710b591520b6b148186b555dad2f84f717ad136f9e5
MD5 ed53717bb1d23518dfd8e20d14308753
BLAKE2b-256 76c5da9b12531e3918a677310c5adc458b29f1b76200aad9fa9ceb06b93f2004

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 7ed89815ea3483f92d6ca934ca8b2a8c35579453c1e2472a960a5086996981dd
MD5 2df22bdaee2636f9d412be817cfe4f6a
BLAKE2b-256 9cbe3edbbe49fe170b8cc1acbb45198b73c4a05b3d64ad0d151c02ae8b73eb3d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f1b0207dd0ec3167d5faec10d72368b7e1ba9eb2e3d54718963f6319254102b
MD5 8a3818d966675ee6956c253a7b4b1823
BLAKE2b-256 9c26ddaaa37312c367b6bc1bd773bf072baf488fc7863e3145d7bfcdb93b19fd

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-38.0.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 959cce516bacb775fb52ff122f26e23178c76ca708d68dc353e177cb7ee6f167
MD5 bf6eca4bbc293febc72e67f77ecac28c
BLAKE2b-256 07e0d02263a632546e70aa3c9c9372a168120a07e7331fd75850def7db98ab87

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 d2700d1593e5a03bc32d1a9e9fda9b136bf7e67e7ae4aeefcfeac5a5090c200e
MD5 8ea97a00536bf73d20d23cf40808dead
BLAKE2b-256 1f285707dcd219fea3ac1c6e3b34e2167eefd8a9084b75a48de586e2c4b05f49

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cec962ac6db460a22ac78c1e316c7238b6979a9e369b9b1e3810af10c7445b1e
MD5 d25aba87c7dfc116cdf5de6b097fddc8
BLAKE2b-256 484533bda7dcf0c0c8a70259031f7c1baea2766ec2d385f25701ac82b11f61d0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d89a685ce8dd2c6869e9b9b884c9e0944cc74d67ca53a5bf4cd69f262fca0c3f
MD5 454f9b5f76e3213fddd68e3027991ab4
BLAKE2b-256 8b5b2d6f6d051a4dc8f34315deaaca9e9b551a72f1d3a39a4e74770a24778856

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18253e7aeb7a6a12d1af7548a70349ab41da099addc0bfdc8f980c0a55624206
MD5 1fcef7008ce81f5bd68f66f5dfd38a1e
BLAKE2b-256 941126bf1104e24e718d8becca8ff723cbf11395a1920f671e811cb88399075a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 03363b92b6d76e4292ace708dcc8fd31b28ce325714f5af9f72afca6e7ac4070
MD5 dcf39a70c0262b2d5bccf860c9eef11f
BLAKE2b-256 9170cb05dd5a034432493c33c3da1be0896d6cb86e1443f7bc291a4003962f7f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aaba2a47f0ce5c795d7caf46ff9c9ecc5d42b8ca5cecd11c0bf03d3df4626f9c
MD5 04aaa3ef863dbb2693dde56b25ce85d1
BLAKE2b-256 cae3cfab03370453b5c502ce2d07f41ad3edbf29726ec4b207e7d188ec797cdf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 db58dcd824d67bc7f9735f3b0f402add8b33687994f0e822cbe16868d68aa2a1
MD5 49af35380fd38ee3d4dc61532e20aad5
BLAKE2b-256 22c9ef57a4583c2b6e6a5653c63c8a4a351c462c993f9922f7a58fceecfb7a0b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88fbfc4703987ed17990a0a5b6f465447e8996cc4c4117db08afce9d0f75ff82
MD5 5cdb3b09b48626cc6210c17ca53e041a
BLAKE2b-256 142ddcb48a14c3dc62bacccb2317ec643fb5228f7a179ee4f1c467b0dc3c3102

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 efa101918a6b332e1db0d3c69085217eb754b85124ab8ca94bba9b1e8d079f84
MD5 61ffbef182d06649b4d71582e3ff30a0
BLAKE2b-256 55db4c0fbeb6d0d97ba59e9ce82680820a860e69884b598ef508a36fbd8584db

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 ff8709fcd3e49c41bc3da5720ab39882b76af8d15e268807e6d906f8c3a252fc
MD5 479d7cc83df76b7af3f944401022aa4d
BLAKE2b-256 1ae938d856494f0e1d26d39443c15c4f01ee34b79e31809dce60aa05c68e6ebb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 144c9b09135caf6580fb8bf03594760a351dcb1bb6df3a4ed871527a90597e31
MD5 272ad87e0459c1f23f875e0d45a71570
BLAKE2b-256 b6004c6b05871d8d743fda57edfd401777bb1acdd1d013b5c8f7c80c388bf8ea

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7ac685fe7c1103f5802e52a49f90f010dd768fd1cffd797fe01df2c674f3862a
MD5 dbccfdf834f6a90087c2662deaa5e487
BLAKE2b-256 4049a3124edfa83f8970ac674ded8d6c2916b20d710c1151a70d3b3e743daac2

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-38.0.0-cp36-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ebe9e75f9a759e1019bdd2a823b51c8d4002bed006d60c025e3d6b9dff33ebaa
MD5 bd01cf87ae194321e215b0fd0db32cfe
BLAKE2b-256 1adeca16fd76f0f01b00c1f4c8105926d91b36b30479a6f52d5847cd4044a73c

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-38.0.0-cp36-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7208cf3fa37e4c2d3ec9b49ac7721c457b793c64d548c4f7f2989ded0405f700
MD5 8b252d26396d5a57dda47e91543991de
BLAKE2b-256 5e4645d47f44e0fb6733191aa66351bc42b9e45b64142b3ce7cd0af7e2f6b7db

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 b69f3f316711567f03eab907713a2c076f43fc84f92a6d7ce5ffc8c26e6709bc
MD5 aeca5b61753e4923ab313e779793080c
BLAKE2b-256 e94e25616a4514d81d4940afcf681e196a3d6dffaaddc0034a7d5dd1c490a864

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 634f38529aac216844df4df8632cdc1d7fff11c1ba2440c7299c38c1aa7a3e19
MD5 f45e772af0b9de07e3a2ed374ccb377d
BLAKE2b-256 776ca1ed6b5718fdcd5a11e863f334fc0d19a70d339de72da3b2a70fd4b03d37

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 684134063c108b6a8af59c1869e09400a1c078336e79fa8cc1cbfb82e67d992a
MD5 511e5478b5b6bc30f3a4894a452adde5
BLAKE2b-256 3ccf49f21e6ac643771a2c7c7a453e2e9ec3f2158df60bc3728ab9b8a83415e3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 8fe3f1df20286d50dc5ab201cce4bf5c326e813d7fa39a62ed41bc01d46cd3ab
MD5 5570e36259f7abb15b66ff3da96e73ae
BLAKE2b-256 76c1c0275e6e837eb83ad4b568e7f9fb5ea95885ad631670fbc548cf9db75689

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b224d7e73676a3ea27cd1a726591c7984db32ceb63a801e11d80669eb9964f37
MD5 3ab75ea8cabb67f5bb6df5e89527fc95
BLAKE2b-256 6c064a5cdafd5eb77b3518e4be5c395585ecf63bd385d7832a007afd0d6805e6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.0-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 c27e541b532d13a15fe969977c55753d0f187696280ba073273efb0c733e522b
MD5 26e76f51bebeb071623c21cebaefa40e
BLAKE2b-256 4270a93da16e6322c5409db7240d56a34db20def223e08c0db4d8ae55fec98e9

See more details on using hashes here.

Provenance

Supported by

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