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 https://codecov.io/github/pyca/cryptography/coverage.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-37.0.2.tar.gz (585.4 kB view details)

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-37.0.2-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-37.0.2-pp39-pypy39_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded PyPy Windows x86-64

cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-37.0.2-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-37.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl (2.7 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-37.0.2-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-37.0.2-cp36-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

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

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

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

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

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

cryptography-37.0.2-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-37.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-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.6 MB view details)

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

cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.0 MB view details)

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

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

Uploaded CPython 3.6+ macOS 10.10+ x86-64

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

File metadata

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

File hashes

Hashes for cryptography-37.0.2.tar.gz
Algorithm Hash digest
SHA256 f224ad253cc9cea7568f49077007d2263efa57396a2f2f78114066fd54b5c68e
MD5 7477bd10af69e78aed4c83accd401416
BLAKE2b-256 5105bb2b681f6a77276fc423d04187c39dafdb65b799c8d87b62ca82659f9ead

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 3b8398b3d0efc420e777c40c16764d6870bcef2eb383df9c6dbb9ffe12c64452
MD5 fab1515d41cba33159ec493ea2846332
BLAKE2b-256 b0c9433457e9c94770c21f4b61594d8d3193bcb659de4423b982f4a29bf10b18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 dc26bb134452081859aa21d4990474ddb7e863aa39e60d1592800a8865a702de
MD5 fc172bc8aaf7ec1807ebe08a9115eff0
BLAKE2b-256 16cdc6af461f422db83ec125b9d1fb3cccfcf796b9526017ab347fe7a4fdc629

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 419c57d7b63f5ec38b1199a9521d77d7d1754eb97827bbb773162073ccd8c8d4
MD5 40d63ae570a2284a2c1cdee3722146d9
BLAKE2b-256 2efb37e1b2d8d399fa6738b437e68bbb82ff0e4fdbf1eddd4d794330594d768f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1f3bfbd611db5cb58ca82f3deb35e83af34bb8cf06043fa61500157d50a70982
MD5 fcf3c120a6f92370e4942721af7610f9
BLAKE2b-256 dc2957cbcf4f38546d6558b380a1ac6e3d8f91ff6acb262ef2fd26d6dc25f935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 e53258e69874a306fcecb88b7534d61820db8a98655662a3dd2ec7f1afd9132f
MD5 07405b0d6014cdb87f4d3cfd535c04f1
BLAKE2b-256 6e1d84c5cfaa2207c2f3a027884012e13f1439bf684e52aa32add2ad15f3be2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 1b9362d34363f2c71b7853f6251219298124aa4cc2075ae2932e64c91a3e2717
MD5 887f698a4f48db23afefd6af31f53424
BLAKE2b-256 d126de829cb2fdcda864cb4209fb39404d65cf6bb32096e5435d06f793defdc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95e590dd70642eb2079d280420a888190aa040ad20f19ec8c6e097e38aa29e06
MD5 57f287632a9d5e459de0f2a10941f061
BLAKE2b-256 523696b4499af0f55fd37d67fbfb8dc9fedaaf28baffcb0e077d9f0d68271572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 aeaba7b5e756ea52c8861c133c596afe93dd716cbcacae23b80bc238202dc023
MD5 7cab38955f02b7d08f036494a4196586
BLAKE2b-256 5080687bf168958dc661ea7b061acd4fd693cd32907c255016d2f742f4cbd052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a7d5137e556cc0ea418dca6186deabe9129cee318618eb1ffecbd35bee55ddc1
MD5 0ea1faa0f105d826117bc36992fc7840
BLAKE2b-256 e2f6042a89d61b11fdf6858361574b0c5e647a02438794c1b379509efdc7365c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a68254dd88021f24a68b613d8c51d5c5e74d735878b9e32cc0adf19d1f10aaf9
MD5 713a9607c44a4917093fd24cad1ecc21
BLAKE2b-256 c2dc43579702d5ff1bfe831379666f7ef9d2b0ac79311205cb0d879fafe39206

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 471e0d70201c069f74c837983189949aa0d24bb2d751b57e26e3761f2f782b8d
MD5 1c330cb4ce65c366f040912ebb22f650
BLAKE2b-256 f651640fe2a25b774aefcd49b101c850f36e8e4ac164dc5c281b3dfa50c01da7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 731c8abd27693323b348518ed0e0705713a36d79fdbd969ad968fbef0979a7e0
MD5 f704f493bc9b7dea425b8c54bea27f87
BLAKE2b-256 a10951b3b56ec18f1eb395aa12c65e154f8582a08f4af458d4890b80a9f40acd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 46f4c544f6557a2fefa7ac8ac7d1b17bf9b647bd20b16decc8fbcab7117fbc15
MD5 9d0862fcf0a0af50b7369a89adc82212
BLAKE2b-256 ac96358a0b767bdd40ee51f0843ee87e614f9f3c1754a2247a26eb0d40e80ded

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f8ec91983e638a9bcd75b39f1396e5c0dc2330cbd9ce4accefe68717e6779e0a
MD5 e49791de36a4456e868642ee3f1ecc49
BLAKE2b-256 c9d2aac40c7a55192c15f2845565ee769f1627f6cfb73fc73b0a250f8b787f41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 0cc20f655157d4cfc7bada909dc5cc228211b075ba8407c46467f63597c78178
MD5 1dd07999ef129b00cf96a3d9c80f73ce
BLAKE2b-256 55ba2268399be15f1542a3bacf6e60fdaf4fea0b18e5190e87b97075e03cb155

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59b281eab51e1b6b6afa525af2bd93c16d49358404f814fe2c2410058623928c
MD5 b54c3e2b812164d276c801d5497aba96
BLAKE2b-256 06012a237fae9ea9a7aecc182cd09348c4eb4c5d8a9ef3a50d1f2a60a1004603

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 093cb351031656d3ee2f4fa1be579a8c69c754cf874206be1d4cf3b542042804
MD5 c272e1d671604ec308b4c8e3767984cb
BLAKE2b-256 8e38055c75d4f6180aa3525eabaa5a0eabadd174594c7d5eeac6741db663dcd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 31fe38d14d2e5f787e0aecef831457da6cec68e0bb09a35835b0b44ae8b988fe
MD5 fbc7f0650a432b78356ea31af42eb7eb
BLAKE2b-256 1d63eb9ee3c63cebf6bac454617085376b7e2cdc1ae022e55fbc1d0194d4eae4

See more details on using hashes here.

File details

Details for the file cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2bd1096476aaac820426239ab534b636c77d71af66c547b9ddcd76eb9c79e004
MD5 59cbc1e35be4f4b2f3ae8f7a904a8e22
BLAKE2b-256 4510de0bdaaf4410dd046404e38d57bfe8a567aa94c8b7b6cf858d759112a947

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3c81599befb4d4f3d7648ed3217e00d21a9341a9a688ecdd615ff72ffbed7336
MD5 efd9c02df029341296e37994a93a4be1
BLAKE2b-256 b4b7b39f5812f3fc787be8a1bad7fd9bcf39cfa9b058bb3f3c0bc1b7659e9d77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.2-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 ef15c2df7656763b4ff20a9bc4381d8352e6640cfeb95c2972c38ef508e75181
MD5 9cae226fcb8cdc37d951fb6a4d824090
BLAKE2b-256 80e289a180c6dc1c3fe33f7f8965da6401cf0b31f440f4e59e9b024b6f54eb0c

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