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.2

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

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

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

Uploaded CPython 3.6+

cryptography-3.3.2-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.2-cp27-cp27mu-manylinux2010_x86_64.whl (2.6 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: cryptography-3.3.2.tar.gz
  • Upload date:
  • Size: 539.9 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.2.tar.gz
Algorithm Hash digest
SHA256 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed
MD5 e2ce2ec8a63965fad351f36ed70fde4b
BLAKE2b-256 d48538715448253404186029c575d559879912eb8a1c5d16ad9f25d35f7c4f4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7951a966613c4211b6612b0352f5bf29989955ee592c4a885d8c7d0f830d0433
MD5 0b328f0fcd3c51cbdd2ceaf0c0eb3235
BLAKE2b-256 49f16f03c4bdb33de207fe97fe771b0c671dfe30b55842f7d193205a1303d9e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 3c284fc1e504e88e51c428db9c9274f2da9f73fdf5d7e13a36b8ecb039af6e6c
MD5 c7266fcb02e38d4cf0d5c030ecbe2674
BLAKE2b-256 8dd13167f1890afe03f8a6345351fb55cb7daa231f43ad2e0ca4b0d0bad85e23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a777c096a49d80f9d2979695b835b0f9c9edab73b59e4ceb51f19724dda887ed
MD5 19acafc4163f1940965821c7b501fe42
BLAKE2b-256 b6e223313cd9d15c93c26d000c8917c3400ce1e4f0ae91a7bc7132578c2a69e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a0f0b96c572fc9f25c3f4ddbf4688b9b38c69836713fb255f4a2715d93cbaf44
MD5 1d6c3f91deaa8360bf773bb34dc41730
BLAKE2b-256 c6d1800ec785c9e66cc6d0ac587bd666eb22f7b2ff6c150e053d35881acd2f57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 922f9602d67c15ade470c11d616f2b2364950602e370c76f0c94c94ae672742e
MD5 d5b62c2cb4f733a8c6dcb39f91e2ebb0
BLAKE2b-256 3248ec2a3e98d8b61d2c65e4c6905aad370049c4bd4a6b1b1d78f8983d38effe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0d7b69674b738068fa6ffade5c962ecd14969690585aaca0a1b1fc9058938a72
MD5 6eb2bcd3dd076e6a3c50fea2ee671f48
BLAKE2b-256 4fea6169c15d2f031fd8e950736fcba58a1e78e30f94dcd4e13de3acad9682d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c7390f9b2119b2b43160abb34f63277a638504ef8df99f11cb52c1fda66a2e6f
MD5 f18ee270fa3f68e2f4395b01e82c4dfa
BLAKE2b-256 bfa0c630e9e3b7e7ea2492db1ca47ef7f741ef1a09f19c6642ef1a16ce996d9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e18e6ab84dfb0ab997faf8cca25a86ff15dfea4027b986322026cc99e0a892da
MD5 844038ec51deb42810e6dbbe4420b087
BLAKE2b-256 864144173175d378c9e3a73294bb33c73725f7726def5ce267af6bd11b72eb23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 1bd0ccb0a1ed775cd7e2144fe46df9dc03eefd722bbcf587b3e0616ea4a81eff
MD5 80f015652a24276b887d22201acf41dc
BLAKE2b-256 1bcfe1875d5e6a15771f575569a44bbd00d4f2a86439aab8bd18c9013b747ccb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 aa4969f24d536ae2268c902b2c3d62ab464b5a66bcb247630d208a79a8098e9b
MD5 26034bbfd20e1961a38a13cfe0fd243d
BLAKE2b-256 1798d1c0595b0d20a156147e3a5784d792d60fba9d736ea09ec13475a99b5455

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a9a4ac9648d39ce71c2f63fe7dc6db144b9fa567ddfc48b9fde1b54483d26042
MD5 29d798fcc42151219bb3ab60ac3e7e77
BLAKE2b-256 3f5a099b8c5a6d3b287a9ec5c5e12d5ed72e56a200d7ddb4bd4349cc30f21c3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 49570438e60f19243e7e0d504527dd5fe9b4b967b5a1ff21cc12b57602dd85d3
MD5 33a37323bcd340eb442d159d4efce4f7
BLAKE2b-256 0792ad1e9f3c20cecf40892cbbf7a40af88a1eb6871d9a70c5caf378af71f051

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.3.2-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.2-cp27-cp27m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 541dd758ad49b45920dda3b5b48c968f8b2533d8981bcdb43002798d8f7a89ed
MD5 11f045b4fe9173290fc2aaa9d55cb35c
BLAKE2b-256 571eec7c5823c5a80899445eed3f83b8f050ad15e314367146be5d2fa872a688

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