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

Uploaded Source

Built Distributions

cryptography-35.0.0-pp37-pypy37_pp73-win_amd64.whl (2.0 MB view details)

Uploaded PyPy Windows x86-64

cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl (2.9 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.8 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

cryptography-35.0.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl (2.3 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl (2.9 MB view details)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.8 MB view details)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

cryptography-35.0.0-cp36-abi3-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.6+ Windows x86-64

cryptography-35.0.0-cp36-abi3-win32.whl (1.8 MB view details)

Uploaded CPython 3.6+ Windows x86

cryptography-35.0.0-cp36-abi3-musllinux_1_1_x86_64.whl (3.7 MB view details)

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

cryptography-35.0.0-cp36-abi3-musllinux_1_1_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.6+ musllinux: musl 1.1+ ARM64

cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.5 MB view details)

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

cryptography-35.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view details)

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

cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.2 MB view details)

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

cryptography-35.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (3.6 MB view details)

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

cryptography-35.0.0-cp36-abi3-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.6+ macOS 11.0+ ARM64

cryptography-35.0.0-cp36-abi3-macosx_10_10_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.6+ macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: cryptography-35.0.0.tar.gz
  • Upload date:
  • Size: 559.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0.tar.gz
Algorithm Hash digest
SHA256 9933f28f70d0517686bd7de36166dda42094eac49415459d9bdf5e7df3e0086d
MD5 ba34eba3ae36cbf3d2e1ee3239f07732
BLAKE2b-256 109190b8d4cd611ac2aa526290ae4b4285aa5ea57ee191c63c2f3d04170d7683

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-pp37-pypy37_pp73-win_amd64.whl.

File metadata

  • Download URL: cryptography-35.0.0-pp37-pypy37_pp73-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: PyPy, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-pp37-pypy37_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 1ed82abf16df40a60942a8c211251ae72858b25b7421ce2497c2eb7a1cee817c
MD5 03366e78cd2e72b577eb214e5c147500
BLAKE2b-256 4174376ca29009ad35eb4b4526cefbca7d2415840517558ae34effbe163057bd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: PyPy, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 abb5a361d2585bb95012a19ed9b2c8f412c5d723a9836418fab7aaa0243e67d2
MD5 f54d178f877e722e29e6cbc91bc86c11
BLAKE2b-256 cb14d509f2ee8433991953b42fc70c3d67714b1e447bb30406266c868f10adde

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb80e8a1f91e4b7ef8b33041591e6d89b2b8e122d787e87eeb2b08da71bb16ad
MD5 1f299d915029ef9c826ac691a6de11ca
BLAKE2b-256 90af431423dae6efe06d77dcae276288e8a4e43c69c9a1772cde9e50c90b2682

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 22a38e96118a4ce3b97509443feace1d1011d0571fae81fc3ad35f25ba3ea999
MD5 c602e2de8ddcea3530594fbad25e6beb
BLAKE2b-256 f600890d6defd9997dd508553c9db08438809b79524801c6d56ab41bdfdb77fd

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-35.0.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: PyPy, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ebeddd119f526bcf323a89f853afb12e225902a24d29b55fe18dd6fcb2838a76
MD5 0ceddd8b9bd166db0f8af50cf5236e1b
BLAKE2b-256 29430a7f2636fb609b08a791bb12c29d84224c95b4a15ffe4c99b70e7663b84d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: PyPy, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 928185a6d1ccdb816e883f56ebe92e975a262d31cc536429041921f8cb5a62fd
MD5 91e68e808f23cafc5f2e488bcb6653c6
BLAKE2b-256 845c7dcfbff4fc4da93a198ce7d222f6536391c8bb6f5a4fc42a2fecf1207c94

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d99915d6ab265c22873f1b4d6ea5ef462ef797b4140be4c9d8b179915e0985c6
MD5 2669654766f72beaa5a66eeeebbd2179
BLAKE2b-256 1dfcaa06d66eff6794dfafb7fc18c683c5149226c9b04e65d4383855eae92795

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a688ebcd08250eab5bb5bca318cc05a8c66de5e4171a65ca51db6bd753ff8953
MD5 8f99d7a956950a8ab2279c639879ac4e
BLAKE2b-256 16f0d74add3845bbb13aad586d4d006274fb412f77c6d5ae8bb02c1b30695ed0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7075b304cd567694dc692ffc9747f3e9cb393cc4aa4fb7b9f3abd6f5c4e43588
MD5 dbab9968b8f5696cff0c807ba6299f43
BLAKE2b-256 934b8f402b9b22cec331d00c6ec2f26184db6e78f53ba24abba8f51b4416bb7b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 c10c797ac89c746e488d2ee92bd4abd593615694ee17b2500578b63cad6b93a8
MD5 957b2a022b34eb683b1910ecae1cf57b
BLAKE2b-256 0d7b355c4a20149417ddae61090089c23d42c7e138f33b37bd62f63638f3982f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 18d90f4711bf63e2fb21e8c8e51ed8189438e6b35a6d996201ebd98a26abbbe6
MD5 4e5d5970907d465eff501ed4ac6ae0cb
BLAKE2b-256 ebb21812dfe3eefa9256e565c0c81bf2ae40698fc174e8407996d14a63faa126

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.6+, musllinux: musl 1.1+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7eba2cebca600a7806b893cb1d541a6e910afa87e97acf2021a22b32da1df52d
MD5 20bbf44c8145a6d0520eb40291ea8db0
BLAKE2b-256 837ceb142fff52eb1dda06eaa32ceceec2f9019711dd00c4a12bd9312930a3cc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 07bb7fbfb5de0980590ddfc7f13081520def06dc9ed214000ad4372fb4e3c7f6
MD5 eaa88d9b582d61e6670f3a0d71703557
BLAKE2b-256 7b1abf49bade5080a5cfb226a975c118fc56c3df2878b91809a5030dd87e551b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a2d0e0acc20ede0f06ef7aa58546eee96d2592c00f450c9acb89c5879b61992
MD5 8d39e5a084030dacbfdc87c880857ae9
BLAKE2b-256 07faf63509370561201ffa852e4f3fb105c76ced6927f951e4cc6a3973d1a527

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2d69645f535f4b2c722cfb07a8eab916265545b3475fdb34e0be2f4ee8b0b15e
MD5 15af3eb0d6a82576d30afb4a63e45ce7
BLAKE2b-256 94bd0d36bb113967ab8bc75f58d692846fd27ed64b8d5a7436a672b66976f802

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 7b7ceeff114c31f285528ba8b390d3e9cfa2da17b56f11d366769a807f17cbaa
MD5 317b1eccef3482ffa4dae13d3053d3b7
BLAKE2b-256 d57d0d8895b3b4aac0cab30a5c285f9a7fc381792e66f6c8d0c055b55259e0d7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 54b2605e5475944e2213258e0ab8696f4f357a31371e538ef21e8d61c843c28d
MD5 23656a58260d1f16dc78df603f0d148e
BLAKE2b-256 c6dc4ca9999befed87830c9ecdf9d2e85019b4090f6439754ee9308e1dafba06

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-35.0.0-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.6+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ced40344e811d6abba00295ced98c01aecf0c2de39481792d87af4fa58b7b4d6
MD5 beb313111b237ed12639db396190b29c
BLAKE2b-256 79927238415a8a624dd74fcb0603fcb222df399210b4713adf8d82e16fd1c76a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-35.0.0-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.6+, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-35.0.0-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 d57e0cdc1b44b6cdf8af1d01807db06886f10177469312fbde8f44ccbb284bc9
MD5 46400c56a59b8f7a16ac88f7f1466ea2
BLAKE2b-256 21d8ac396584e4559711240018bef74f7359c1dc769febb49973ff0ec397e7bb

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