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

Uploaded Source

Built Distributions

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded PyPy Windows x86-64

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

Uploaded PyPy macOS 10.10+ x86-64

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

cryptography-38.0.3-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.3-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.28+ ARM64

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

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

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

File metadata

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

File hashes

Hashes for cryptography-38.0.3.tar.gz
Algorithm Hash digest
SHA256 bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd
MD5 2148f1283f22df0677e204e46bccaf06
BLAKE2b-256 13dda9608b7aebe5d2dc0c98a4b2090a6b815628efa46cc1c046b89d8cd25f4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a
MD5 cd1b0bd10f195fcf8af7db753b835af4
BLAKE2b-256 b7f5d16fd8c7095140c5d29decf1412236729cc8426a525dbade243160362976

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548
MD5 12f1f6b67fc2187da6ae13117c10faa2
BLAKE2b-256 219342b15190db404235240bcebc699627489dea2948c1fb7593f0bf0804742f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436
MD5 fbeee9889d6790241b80d6ebe13d21b4
BLAKE2b-256 b9889f0999bb69731613319e26b4b2ba7d1c6a6b7f25291c0c1372bf110f6b14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8
MD5 686f40690ce1e5dcf1d025476d6957e7
BLAKE2b-256 c0901f9d8b11739dd43e2453ba7f733cbd2779f908da0eed1d64f9bbe90f3316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp39-pypy39_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0
MD5 9c792ed05a9254391976274512de16d9
BLAKE2b-256 b951668f9268a48927b2bc415167b3bf7476be9319d78c9f21c38c3b7ba8b4e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50
MD5 b3f6b3429a70bb1142b35d2a5c1b14c0
BLAKE2b-256 2628185849bdd2af875a364a9a2f8155508e120823a61c26af30f9ef9c94abbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249
MD5 41b6a4707c5da0bbb1954152a42d5a73
BLAKE2b-256 afbff6cd81c30692f7c88689871fc57b961ba50d9d1294fa6b4dfa193375a626

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7
MD5 4d4bb40e26c2aaae2e2b46d7e5e4d7ee
BLAKE2b-256 5313a591627202c23c5d067f615e825e56e838300ac525e0c90d1d04d48a45df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d
MD5 2fc18a41b33e6b6ae360cb6e8c0a08f8
BLAKE2b-256 33f946f91a7540e1980e5875b7f3834b5374034ccc6a61a1e23e1f84f788ef1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp38-pypy38_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36
MD5 2116db6605073f96c7203d55640a0cde
BLAKE2b-256 eea7dfa6e33efa9f7448554560d4e7debf5cefbbdc9bc677c13824a0bc777d78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp37-pypy37_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b
MD5 e958f4ef1992d5ba3f6ef559034fbeee
BLAKE2b-256 24b693eb1a7ee6635b99ce1aaa9b41947045c25b445024ab03c132db3d8312f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55
MD5 94e8889345f5c1e6dcaf6a407baf9b31
BLAKE2b-256 29d4f58d872789720a6859a4984edf39b3f4ea02bcc973ed510f013f2ad0c668

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd
MD5 6a2d9de9cb5ecd8a9e7438f932f28a23
BLAKE2b-256 32e20b19dc60c84544e5662c28a1526836cacac62b957d570c9d1685471f58bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220
MD5 baff98bae3fe67faba230494a55c87e2
BLAKE2b-256 caaa60e89df0efeb690a0cc8fec2d3c81987223861a35126e902ea68ef358783

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0
MD5 de9cc8cad9cbd147adf21a30d536e46d
BLAKE2b-256 b0cdc6bc1f1a5850ed54471c8a947c309e23f78a999f6cebac996c83b1c3399a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146
MD5 50c69e90d1a6fb23f3bd34a6ff582e82
BLAKE2b-256 bf96bad32526aedc42309ef0eb5193a2802971dec3d088a49988d7fa326d7214

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748
MD5 1dc78890194a3f3485fcb33a2c14c20f
BLAKE2b-256 6aa645d1b0bea677172e3d50e02566fa6c9df813306765e6bc71ca551b3d1432

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0
MD5 42c3022dbf8a6f45bc088cd9f1d76aa9
BLAKE2b-256 57685fe4461ce8c0611eb09452e613512e1ddf62afcafc1ef4003d26345b3efe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c
MD5 892931a5b899b00d27c53fda98bfbc52
BLAKE2b-256 6fbdc0459289c3ede4102ff65b6dda437c5b23833c360f0cf2b89a1c4a24f764

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2
MD5 f780981d67dfd4c91acc0a6aae4c0d13
BLAKE2b-256 3719234484df6fc7bdf4cf81cd4a89f600fce9f8f7a4bc1b307d7abbcd382b64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959
MD5 5f979c7f0729477e2fb830f8fe525799
BLAKE2b-256 bdb42f8532124bda7470af31b6d9322b5bbb74e3bde94030f9b3a88450f12c8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828
MD5 81f79158878a63a99b178c4d9f26cb98
BLAKE2b-256 c139ff2c4dbddf50d79118a14eaba170ad80b65127201a566c359f76ffa34625

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f
MD5 41b899f6071b19167c3744b927618712
BLAKE2b-256 1eda7fcb7ac1caf8f7bb3f8099bf0075595ea681ab7c8fb82cfd2bd148cb3100

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722
MD5 50feaaf52c27054b6d3cb5c48c3f421a
BLAKE2b-256 dad0af5cb66a892ec8a39d3089801fd8333fef5c335c33277591ef956ee1eba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-38.0.3-cp36-abi3-macosx_10_10_universal2.whl
Algorithm Hash digest
SHA256 984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320
MD5 870aa24581f814a53808eea6ff83d48e
BLAKE2b-256 fe44e5f4e5040491130f58d3ffbc3d21e917cced3e13faa126530109c18dee2e

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