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

Uploaded Source

Built Distributions

cryptography-39.0.2-pp39-pypy39_pp73-win_amd64.whl (2.4 MB view details)

Uploaded PyPy Windows x86-64

cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.1 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-39.0.2-pp38-pypy38_pp73-win_amd64.whl (2.4 MB view details)

Uploaded PyPy Windows x86-64

cryptography-39.0.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (3.5 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-39.0.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (3.3 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-39.0.2-cp36-abi3-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

cryptography-39.0.2-cp36-abi3-musllinux_1_1_x86_64.whl (4.3 MB view details)

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

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

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

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

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

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

Uploaded CPython 3.6+ manylinux: glibc 2.28+ ARM64

cryptography-39.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (4.1 MB view details)

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

cryptography-39.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

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

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

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

cryptography-39.0.2-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-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.6+ macOS 10.12+ x86-64

cryptography-39.0.2-cp36-abi3-macosx_10_12_universal2.whl (5.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cryptography-39.0.2.tar.gz
Algorithm Hash digest
SHA256 bc5b871e977c8ee5a1bbc42fa8d19bcc08baf0c51cbf1586b0e87a2694dde42f
MD5 432ea633d0bd230504b20469e047b0ba
BLAKE2b-256 faf3f4b8c175ea9a1de650b0085858059050b7953a93d66c97ed89b93b232996

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 8bc0008ef798231fac03fe7d26e82d601d15bd16f3afaad1c6113771566570f3
MD5 80721694ef615b36356523f5e064e86f
BLAKE2b-256 7b4905debd3f2dfc43987063575cffb58116daf80b3db278555ecb1af765a2bd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa507318e427169ade4e9eccef39e9011cdc19534f55ca2f36ec3f388c1f70f3
MD5 f48357ae04801b56d40d486874ac6369
BLAKE2b-256 b2542b2a610b6eced5a7be96c0d2e214be9cee6824b9494756e6043470ca594f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e029b844c21116564b8b61216befabca4b500e6816fa9f0ba49527653cae2108
MD5 ff3e11feff5a5a2db05739fa7f028fa0
BLAKE2b-256 cb76c9fa9cda16ac5b47b5bb29b3e3b8536ca3584458e889a6df82bbee18e693

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 30b1d1bfd00f6fc80d11300a29f1d8ab2b8d9febb6ed4a38a76880ec564fae84
MD5 f8952d0b33d2db884e82630a0653009e
BLAKE2b-256 1340acfea5abe60f483bfba44a24419fa89d584e1e93dca750b800805ef272b9

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 35d658536b0a4117c885728d1a7032bdc9a5974722ae298d6c533755a6ee3915
MD5 c99324b8466be26965621180eceecdf0
BLAKE2b-256 c6c4354c78bade0270f951a14db9f8248ab975ca7df050476dc3759831e52a7f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e944fe07b6f229f4c1a06a7ef906a19652bdd9fd54c761b0ff87e83ae7a30354
MD5 e11bc58e42fe5807be83645c8565bcfc
BLAKE2b-256 06ead998c35ac871396749f14a4b4e82f080422182e1830f02959e893abd3016

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 6236a9610c912b129610eb1a274bdc1350b5df834d124fa84729ebeaf7da42c3
MD5 5026d079f10b697725e2b3bd83edf0e0
BLAKE2b-256 9ea04c0c8b827f430246b48a0f2415a432427d365c77b04a911c5139ae9c79b1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 103e8f7155f3ce2ffa0049fe60169878d47a4364b277906386f8de21c9234aa1
MD5 e7115f7abeff0b6a15abbb6f38143a32
BLAKE2b-256 1e85d5b768b45e564a66fc5ba6344145334208f01d64939adcb8c4032545d164

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50cadb9b2f961757e712a9737ef33d89b8190c3ea34d0fb6675e00edbe35d074
MD5 fc991d3cd212853f25282870daf96338
BLAKE2b-256 771947d55b3f609fc03b6f80c63820996671dfccb28e1d07427dd81319d514d5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d15809e0dbdad486f4ad0979753518f47980020b7a34e9fc56e8be4f60702fac
MD5 f63319b62bad4e5f15f4bbf9d3c7ba3d
BLAKE2b-256 6d5b516dc11fa0a638cb707293ad44cc1cb93924bb4b5ba03881dfdb819e23b0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 788b3921d763ee35dfdb04248d0e3de11e3ca8eb22e2e48fef880c42e1f3c8f9
MD5 34b354609bebe2360f7e08b7f30f0e97
BLAKE2b-256 4f0e55b8cff87b572da828e9c6b7e7c5ecb9dc955b551ab863c28464a15f6451

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 c43ac224aabcbf83a947eeb8b17eaf1547bce3767ee2d70093b461f31729a480
MD5 ac8fbe538a27d236cc0bb26412a2d312
BLAKE2b-256 0b20f406c0d2edb7b3974c39099816795d629bbd8716cd41cda8c3c4703de095

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d7d84a512a59f4412ca8549b01f94be4161c94efc598bf09d027d67826beddc0
MD5 1a5c57cc79ce99da3620b6bc294f50b3
BLAKE2b-256 e85c9e47aac90fb5923d09c413909af6bf6ad4af2bfeeff707a2485c3f2af8be

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 5f8c682e736513db7d04349b4f6693690170f95aac449c56f97415c6980edef5
MD5 cc582763cf2f811dffec8cc1995dea96
BLAKE2b-256 d326da69282ae3b350ee869536994e6816ac77057a7b5970068fabe56c644624

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b49a88ff802e1993b7f749b1eeb31134f03c8d5c956e3c125c75558955cda536
MD5 e619118f917f0a73ee5ccfb03de334e9
BLAKE2b-256 f46d1afb19efbe093f0b1af7a788bb8a693e495dc6c1d2139316b05b40f5e1dd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8f35c17bd4faed2bc7797d2a66cbb4f986242ce2e30340ab832e5d99ae60e011
MD5 9b10cf1f6595a0d94fabd490d1bfe076
BLAKE2b-256 9c30e787edf59f35192799d340a0a36976870ce487ba32948f086c29dc5d54ab

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e8a0772016feeb106efd28d4a328e77dc2edae84dfbac06061319fdb669ff828
MD5 d521ac9acd19565ecc47ee6a6060b345
BLAKE2b-256 f7c0daaeedc40e3385f01bb1af8c001ac214dcea6716b61efebabf9066b6f619

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffd394c7896ed7821a6d13b24657c6a34b6e2650bd84ae063cf11ccffa4f1a97
MD5 2ed68de871d8da6b7e01a9af157d9cf7
BLAKE2b-256 26d285480f4e754375c6d8e4a18cc8d2f28ef1984cf2843395c4d1ea396331d3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc0521cce2c1d541634b19f3ac661d7a64f9555135e9d8af3980965be717fd4a
MD5 5273268fc09e2be70d71bb5a4eaa4756
BLAKE2b-256 d69912d3b9c8df83b52799f9994da17bb67bb4565c418b3a8284ed1f79b692e1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 eb40fe69cfc6f5cdab9a5ebd022131ba21453cf7b8a7fd3631f45bbf52bed612
MD5 737ac459ea53231fe61acb20d4bd7924
BLAKE2b-256 3c5a6c180b745336f989e9b298e1790af0ef5b37640edb861fc536b5663726e3

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 23df8ca3f24699167daf3e23e51f7ba7334d504af63a94af468f468b975b7dd7
MD5 5acf7652f00f2983484f40416dc8c8aa
BLAKE2b-256 3c0cac188ca210fbc02102d34ad8dba6956fe16fc566e5c5110a7f7bdbd30138

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-39.0.2-cp36-abi3-macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for cryptography-39.0.2-cp36-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2725672bb53bb92dc7b4150d233cd4b8c59615cd8288d495eaa86db00d4e5c06
MD5 a4d2938eec9f24c45b7f8dce98732790
BLAKE2b-256 c58a6dcd53c995506d4ff0de3a7da2202715654493fd12d7875f2a43b3a44150

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