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

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

cryptography-41.0.3-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.3-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

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

Uploaded PyPy Windows x86-64

cryptography-41.0.3-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.3-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

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

Uploaded PyPy Windows x86-64

cryptography-41.0.3-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

cryptography-41.0.3-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded PyPy manylinux: glibc 2.28+ ARM64

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

Uploaded PyPy macOS 10.12+ x86-64

cryptography-41.0.3-cp37-abi3-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.7+ Windows x86-64

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

Uploaded CPython 3.7+ Windows x86

cryptography-41.0.3-cp37-abi3-musllinux_1_1_x86_64.whl (4.4 MB view details)

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

cryptography-41.0.3-cp37-abi3-musllinux_1_1_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.1+ ARM64

cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB view details)

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

cryptography-41.0.3-cp37-abi3-manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ ARM64

cryptography-41.0.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

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

cryptography-41.0.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

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

File metadata

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

File hashes

Hashes for cryptography-41.0.3.tar.gz
Algorithm Hash digest
SHA256 6d192741113ef5e30d89dcb5b956ef4e1578f304708701b8b73d38e3e1461f34
MD5 fbf930acd8de95780604c40c4e817a74
BLAKE2b-256 8e5d2bf54672898375d081cb24b30baeb7793568ae5d958ef781349e9635d1c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 ce785cf81a7bdade534297ef9e490ddff800d956625020ab2ec2780a556c313e
MD5 cbe9eea311d9e888194c3748d95d19c1
BLAKE2b-256 1047c6bc7aa374e74af9694eae95d4fecea2777ef4c309f5c4b404c7262a87d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7efe8041897fe7a50863e51b77789b657a133c75c3b094e51b5e4b5cec7bf906
MD5 f63bb5dd552a9ddc11d724cb598766b6
BLAKE2b-256 d2366fa85e93c92888e6e0afa233adbf22a0747ed3448032c5a92326dbb6faec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 67e120e9a577c64fe1f611e53b30b3e69744e5910ff3b6e97e935aeb96005858
MD5 bbfa512af7eabec53891a324084aba43
BLAKE2b-256 0ec26b4463782ad828f89f45fd073adfaaca67eb71249488deeda00ae475f002

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp310-pypy310_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5259cb659aa43005eb55a0e4ff2c825ca111a0da1814202c64d28a985d33b087
MD5 b5435b38fa44b2b5ab7e86eb1deb0dd6
BLAKE2b-256 ac1b0768c89d513bdefecc1f5ebb12df87e810d8a043c35c37a8cc7f3bef28c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 a74fbcdb2a0d46fe00504f571a2a540532f4c188e6ccf26f1f178480117b33c4
MD5 0f0b593830cd62018cd33a0b713453a0
BLAKE2b-256 6c022f4f33c5284ddee77efe89248a059dba27bead01a812a76729d51b0bcb3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab8de0d091acbf778f74286f4989cf3d1528336af1b59f3e5d2ebca8b5fe49e1
MD5 c0db4b04cd4c6901f1730bf7cfdb661b
BLAKE2b-256 9a904c779507b50c9adf3f11f973f22d80a83097100cf9e1766b21ec4cd0bba2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d0d651aa754ef58d75cec6edfbd21259d93810b73f6ec246436a21b7841908de
MD5 19c24c9d71f7363bb4d77f74e2711e90
BLAKE2b-256 b7d9b3500bc80cc1ce775c987689c1bd2d9f75513df7ab78bdec0c6bad368ae5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp39-pypy39_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 41d7aa7cdfded09b3d73a47f429c298e80796c8e825ddfadc84c8a7f12df212d
MD5 0993f7d98635126d41021e50f113706b
BLAKE2b-256 79185495f896421da0f5ae58f6cfaf6866269aa9b240206175fcefe1467a0d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 95dd7f261bb76948b52a5330ba5202b91a26fbac13ad0e9fc8a3ac04752058c7
MD5 9e695e8a692825ff47b9bf6035498f5c
BLAKE2b-256 f609b20b8c54f53fdd10c6971ce2eab32aecbabc2a7ab7621839653460f988fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 23c2d778cf829f7d0ae180600b17e9fceea3c2ef8b31a99e3c694cbbf3a24b84
MD5 09db6f9a029e8176b82cf87d86989125
BLAKE2b-256 00d751516ad1da024d331ed2f4f0f8836ec8373e4a6b3e3ac190753f1cd6fffe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4c2f0d35703d61002a2bbdcf15548ebb701cfdd83cdc12471d2bae80878a4207
MD5 a999b93a5c7255233ae7f3ab5d13a2d8
BLAKE2b-256 9eace26bd0f1c96444c3332fcc32ecbdcfccc0356b8f0cc4db9047ddccb4d7c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-pp38-pypy38_pp73-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 57a51b89f954f216a81c9d057bf1a24e2f36e764a1ca9a501a6964eb4a6800dd
MD5 eb481c8b1fb4f053f43d7a8f780d18a7
BLAKE2b-256 5c8350d61ceaf324d73dd2e41c38c7a9d0e522be4a31fca2a0fa70f39b2e4c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a983e441a00a9d57a4d7c91b3116a37ae602907a7618b882c8013b5762e80574
MD5 5dee5069491c917a975d76fa655ab0ad
BLAKE2b-256 30565f4eee57ccd577c261b516bfcbe17492838e2bc4e2e92ea93bbb57666fbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-41.0.3-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.10.6

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 0d09fb5356f975974dbcb595ad2d178305e5050656affb7890a1583f5e02a306
MD5 a231666dfd18594cdeacf6da88ac7d40
BLAKE2b-256 cc6565e6719b0038e2fece9311d39372f1f4293c32e8951edff78db857d62fc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6af1c6387c531cd364b72c28daa29232162010d952ceb7e5ca8e2827526aceae
MD5 43fb3c04335f55b1a0d886b5c4dfc895
BLAKE2b-256 efa45131f125a7c413b89c01cff9712c6405a4ac46909deba67d74209a45d973

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 aeb57c421b34af8f9fe830e1955bf493a86a7996cc1338fe41b30047d16e962c
MD5 23663e166f22f1929b8945f316477e1b
BLAKE2b-256 f6c33eff8181cd23aa5b33ead7c5086fbc9dee3f794fe782274ef1c61b16d613

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 42cb413e01a5d36da9929baa9d70ca90d90b969269e5a12d39c1e0d475010116
MD5 59120901caa16f1ce3c2a287d50a041c
BLAKE2b-256 4674f9eba8c947f57991b5dd5e45797fdc68cc70e444c32e6b952b512d42aba5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3fb248989b6363906827284cd20cca63bb1a757e0a2864d4c1682a985e3dca47
MD5 d5be917e4739ff069ef9d5430206949c
BLAKE2b-256 7d43587996ab411ca9cc7b75927856783f1791390d57ab7dc5f2c24df61e3f9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84537453d57f55a50a5b6835622ee405816999a7113267739a1b4581f83535bd
MD5 c7fce3b285651310e92cfe5a6e299898
BLAKE2b-256 2174a7ebb5bcf733b1626e4778941e505792d7f655e799ff3bdbd9a176516ee2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4fd871184321100fb400d759ad0cddddf284c4b696568204d281c902fc7b0d81
MD5 3c98a6f34d045986a6a43d05970f2365
BLAKE2b-256 ff624b7f7d0e8c69ee9dc79238362af05df77ee7020123d922847665937e42d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8f09daa483aedea50d249ef98ed500569841d6498aa9c9f4b0531b9964658922
MD5 1351baacf6069403c3f916a46cebbad5
BLAKE2b-256 a2e62331e5bde68343b820a9e5d937b2e22a0f81ba68e87b74dbbdd98944da4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-41.0.3-cp37-abi3-macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 652627a055cb52a84f8c448185922241dd5217443ca194d5739b44612c5e6507
MD5 bedfef0b707ea313b212c2e72222e883
BLAKE2b-256 91685c33bb0115b3413a974dd4d23625b99ed22522582b513f82e93ce00f954c

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