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

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded PyPy manylinux: glibc 2.24+ x86-64

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

cryptography-37.0.4-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.4-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

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

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

cryptography-37.0.4-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-37.0.4-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.4-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-37.0.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.1 MB view details)

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

cryptography-37.0.4-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.4-cp36-abi3-macosx_10_10_universal2.whl (5.4 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cryptography-37.0.4.tar.gz
Algorithm Hash digest
SHA256 63f9c17c0e2474ccbebc9302ce2f07b55b3b3fcb211ded18a42d5764f5c10a82
MD5 9225cc6cc33b6acd2add39f7fb77faf7
BLAKE2b-256 89d95fcd312d5cce0b4d7ee8b551a0ea99e4ea9db0fdbf6dd455a19042e3370b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 4c590ec31550a724ef893c50f9a97a0c14e9c851c85621c5650d699a7b88f7ab
MD5 c3730aea3309362dfc59f09e92103eaa
BLAKE2b-256 c44baccdc610bca433f99403bdeafc024324052fde973589436e314b926944f1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 91ce48d35f4e3d3f1d83e29ef4a9267246e6a3be51864a5b7d2247d5086fa99a
MD5 e40c0d0ae027e5cc01b2c0828aa7b85d
BLAKE2b-256 6a7977dc09377aea15ed0238b3cdcac7375f33aa812dea9a26f1af46f7097b6e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2be53f9f5505673eeda5f2736bea736c40f051a739bfae2f92d18aed1eb54596
MD5 f2d77df43c0e7a0b89952a1fe9373d16
BLAKE2b-256 a4e4fcabae3e4c903a0c63e0537c6427a710680f10113a61aaadf8fd74896e00

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 7099a8d55cd49b737ffc99c17de504f2257e3787e02abe6d1a6d136574873441
MD5 2986a18ce6b96b8fd8c15b40d6157cad
BLAKE2b-256 92bb31fe12a6bc8d066621d79345c84a517c2bd6bf9ae18e1c53652a5c4e8790

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 75976c217f10d48a8b5a8de3d70c454c249e4b91851f6838a4e48b8f41eb71aa
MD5 394bbb642a626b12e1b21cddab625836
BLAKE2b-256 782159512b7c0d172f28f300284d0618a3581bd24d1c1428d73a6e8b51ac3e70

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d204833f3c8a33bbe11eda63a54b1aad7aa7456ed769a982f21ec599ba5fa282
MD5 c8d55c25adf48818da89e47e2fdb8cc4
BLAKE2b-256 8df4477730b78a6152dafca6f8c47d246979ed95e6d144f27a85bddb845fe894

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bc997818309f56c0038a33b8da5c0bfbb3f1f067f315f9abd6fc07ad359398d
MD5 f148a72f24980493a5783a84ff64e65e
BLAKE2b-256 f1a2691402d66e95b8e85e2a96c670038ce2d9fc934e5a40152ac68d3c7fe486

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 e007f052ed10cc316df59bc90fbb7ff7950d7e2919c9757fd42a2b8ecf8a5f67
MD5 9cda4f4b8c19b85bee49195f0f88035a
BLAKE2b-256 e8ae8ea6a2010ef1b916e3d158e1dcea6236c5660e7db6425eb9e491f69093a6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 f8c0a6e9e1dd3eb0414ba320f85da6b0dcbd543126e30fcc546e7372a7fbf3b9
MD5 e99be20f57028ec7bbe54c195a0306c8
BLAKE2b-256 2e611aa189625666814dfaa1a10c338ba1b5a807e861d9f3b73307b492913e24

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6bc95ed67b6741b2607298f9ea4932ff157e570ef456ef7ff0ef4884a134cc4b
MD5 e3df95a2478a38d7542f688435c08dfb
BLAKE2b-256 47260c9eaff097ff4080c2fa6ff6a53074d772fee881d9f0a5d59ea33229512e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f7a6de3e98771e183645181b3627e2563dcde3ce94a9e42a3f427d2255190327
MD5 852e6144a3a24c460fe03dd36892998e
BLAKE2b-256 e54b45759a0238628b48113ce899ef499d39433d3ac384a132796cd9fb4977a1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 b62439d7cd1222f3da897e9a9fe53bbf5c104fff4d60893ad1355d4c14a24157
MD5 f4754f07058666567f77a4d555b32467
BLAKE2b-256 1d079c6779f9aac823c760465e59dd6a2ff3fffdd8c8174ef2fbe05f1b77650e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 190f82f3e87033821828f60787cfa42bff98404483577b591429ed99bed39d59
MD5 fce1b10bb9a5a708e8a4ca744951fd0e
BLAKE2b-256 6bc04cfdc2fa58f86ccb5dcd017c9aa2125a5132e9b52868ccc5d46d0542d29c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 30788e070800fec9bbcf9faa71ea6d8068f5136f60029759fd8c3efec3c9dcb3
MD5 6709e54403940894732899e2d3ca80c0
BLAKE2b-256 d4d7fa8688ca6ba6dbe44a8ecab9b34cbba0a5ab42c5a3609371968ba3e7f44a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 b7f8dd0d4c1f21759695c05a5ec8536c12f31611541f8904083f3dc582604280
MD5 65a9f9c3aacba340ec1bca09db750044
BLAKE2b-256 86825e81dbf8a94c011e5240595149626d92e78a110f01311face1ab08431566

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2dcb0b3b63afb6df7fd94ec6fbddac81b5492513f7b0436210d390c14d46ee8
MD5 25ffee20d3df178a1fb29ced8e83e4ac
BLAKE2b-256 208b66600f5851ec7893ace9b74445d7eaf3499571b347e339d18c76c876b0f9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 80f49023dd13ba35f7c34072fa17f604d2f19bf0989f292cedf7ab5770b87a0b
MD5 10b481352c7b9c3812f908d33d9dbca3
BLAKE2b-256 fd5af47456f062b0c5bd828198992fca1f78bcc7aeadd216d9ce6c3348188b92

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3d41b965b3380f10e4611dbae366f6dc3cefc7c9ac4e8842a806b9672ae9add5
MD5 88ea28d5b72af66f9d28903647624870
BLAKE2b-256 556817d21988cec2dec825ce7fb965cc44d5f64e9f48f414084510f5836c5cb3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f721d1885ecae9078c3f6bbe8a88bc0786b6e749bf32ccec1ef2b18929a05046
MD5 992129f925024e9e6d033899d9a31952
BLAKE2b-256 ca442384260ffa2fa974894ec5f70896b328cd55a19dc367cf5c7ef32d5b3ba8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 a958c52505c8adf0d3822703078580d2c0456dd1d27fabfb6f76fe63d2971cd6
MD5 60d459e8595096baeac532fc0a197649
BLAKE2b-256 c59323f1cc4a39cee6ca0dc75550dc204e5af71e8bf3012d23feb1bd5b06edea

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-37.0.4-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 549153378611c0cca1042f20fd9c5030d37a72f634c9326e225c9f666d472884
MD5 f82ff3aabd1daa1b3fc5be98d4b1c9eb
BLAKE2b-256 ebf08bc2246a422eb5cd1fe7cfc2ed522e4e3e0fd6f1c828193c0860c7030ca6

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