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=master https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master

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 2.7, Python 3.6+, and PyPy 5.4+.

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 #cryptography-dev on Freenode to ask questions or get involved.

Security

Need to report a security issue? Please consult our security reporting documentation.

Project details


Release history Release notifications | RSS feed

This version

3.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptography-3.3.tar.gz (539.5 kB view details)

Uploaded Source

Built Distributions

cryptography-3.3-cp36-abi3-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

cryptography-3.3-cp36-abi3-win32.whl (1.3 MB view details)

Uploaded CPython 3.6+Windows x86

cryptography-3.3-cp36-abi3-manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.6+

cryptography-3.3-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB view details)

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

cryptography-3.3-cp36-abi3-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.6+

cryptography-3.3-cp36-abi3-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.6+macOS 10.10+ x86-64

cryptography-3.3-cp27-cp27mu-manylinux2010_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

cryptography-3.3-cp27-cp27mu-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7mu

cryptography-3.3-cp27-cp27m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 2.7mWindows x86-64

cryptography-3.3-cp27-cp27m-win32.whl (1.3 MB view details)

Uploaded CPython 2.7mWindows x86

cryptography-3.3-cp27-cp27m-manylinux2010_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

cryptography-3.3-cp27-cp27m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7m

cryptography-3.3-cp27-cp27m-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.10+ x86-64

File details

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

File metadata

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

File hashes

Hashes for cryptography-3.3.tar.gz
Algorithm Hash digest
SHA256 d9f1e520f2ee08c5a88e1ae0b31159bdb13da40a486bea3e9f7d338564850ea6
MD5 96f254561a3cd0825e5a3787c356cf7b
BLAKE2b-256 70628c39b26e1944c68787b3cb6eac098e18236816074896bb8bcb205a629a6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.5 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.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 402273e7f78e01f5c42452acef56bd52fa73fa0f312e4160db7ad29bbc90335d
MD5 71801c34ab0b129748a60347c05923df
BLAKE2b-256 6c5e3e95c3843ad7415834ef116240e7ae0d5f0f6cc52e1857d0caa4cf1dff68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.3 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.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 f95ca692fafea80f1815bbfecf57c6833c0b21432d17026a077341debee76e79
MD5 be512bb5878afbff2839d3b486b3b3a9
BLAKE2b-256 3d22bcdcebb51e447c8b1fb46938eab0f181582d7210f048246edf9621e684db

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp36-abi3-manylinux2014_aarch64.whl.

File metadata

  • Download URL: cryptography-3.3-cp36-abi3-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 55574bd84ff551fd6f7617e5eeda0b2d129f84788340ab57904f0c7f13f8f149
MD5 2586d41481b991fbd823e9da21777499
BLAKE2b-256 6f12d48187a80ef67cfd58f2032e5c0c8113b96c3abc7d9e06e04bb968d4f2ec

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp36-abi3-manylinux2010_x86_64.whl.

File metadata

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

File hashes

Hashes for cryptography-3.3-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ad8dc319f876273b474a59797344d5986beaaaf18f7cc0ab9255155da057d979
MD5 963f74b99e42832fdef9accb0ae84294
BLAKE2b-256 becedceef1c457d029e1d4d567f8a07d26e00242a9bd84df63470635641bee2f

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp36-abi3-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3-cp36-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9518da854136181407d946b971dd27a0e941d5d07f87f87a44c598b3da7a77d2
MD5 c2aaf8e155c4ce72b2cb945750054550
BLAKE2b-256 33a3f2b1d0e004055d897d687365130e5baf04e8d364b4b852716ef34e934ea3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 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.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 66f41aa7642f97d35976750a2c0a6d5915733ba6c9ca7a0f327e56f037c1236e
MD5 bd6d73f2970c4064156236886ebbdf77
BLAKE2b-256 aef99d6d21b60b6e0ee2ba7a5341920fc9bf98fb23863a4b5ce637244e7dd82d

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1366e6fff96bb1d320e3ef3c531b0428cb780c517b6059ffe8820e2a30bf5858
MD5 b22fd1fc1440030c3c1fead5cf938489
BLAKE2b-256 97e62600b22cec56111cf9bfc88d09a3a41fc177b78275ef292ac467d7945392

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 651eff09297e4518287f711b4e28523567cbde7beaa794d06d0b35ac9adc1172
MD5 e60bf7ef8d6653ccd698d03ffa067bac
BLAKE2b-256 f249b8b356dac8c15e03e2342dda409b20d766916d414844d16f069662314464

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 f43d6e72e3cdf983b5e5e65938c0519ce4eeb42b6af766f714b1414ae7b9f8ef
MD5 52e8d1d07d202e1d0e991a6c71d7e775
BLAKE2b-256 fbfe519329023ae1c2fa03de4212c39fdc21df5e21a0c851ee1a5e53ebba70a0

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27m-win32.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 ee0084f6d62f083316b08111b122dc4fbe16e534059b92b5ddc3d73dc52dd39c
MD5 5697b3844ee349eaf2d7db3544ea3584
BLAKE2b-256 f3439bc19bff3613c69d3e49450819c7c42c02583591b59e8dae8199d9078d5c

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2c28e69e8c2620869425420e466b224d351d5dc242d3e3293062cffa7fcdd276
MD5 1100c9811f174fe817b3d9b1b9cf329c
BLAKE2b-256 a7081774a886b42a3b3aaed5d3e0ffa02bc8a95aac0cc24017202ee407643d62

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4935d0603b118dc036c477917e5e8a020f7309bc11c363a4d572407dcbd53c80
MD5 32aec37159ae1e780d5007b69db559ca
BLAKE2b-256 57f06cddbfa5e143ee4922774b9b49ed4a1ecb29aaaed4aff5e454fdab98057c

See more details on using hashes here.

File details

Details for the file cryptography-3.3-cp27-cp27m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.3-cp27-cp27m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 2.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.3-cp27-cp27m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 41892759f13c7dfc329573cabd3a513f1e7b5d309ca55c931ffefc3b2f304899
MD5 085ecc05247a79b7dc50438ded3c4b07
BLAKE2b-256 5ddbe6931e8f21bac4d5348ed34eecda4c657029b98de2740966b615e8623316

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page