Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

Latest Version Latest Docs https://travis-ci.org/pyca/cryptography.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.4+, and PyPy 5.3+.

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

Download files

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

Source Distribution

cryptography-2.4.1.tar.gz (468.6 kB view details)

Uploaded Source

Built Distributions

cryptography-2.4.1-cp37-cp37m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7mWindows x86-64

cryptography-2.4.1-cp37-cp37m-win32.whl (1.1 MB view details)

Uploaded CPython 3.7mWindows x86

cryptography-2.4.1-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6mWindows x86-64

cryptography-2.4.1-cp36-cp36m-win32.whl (1.1 MB view details)

Uploaded CPython 3.6mWindows x86

cryptography-2.4.1-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5mWindows x86-64

cryptography-2.4.1-cp35-cp35m-win32.whl (1.1 MB view details)

Uploaded CPython 3.5mWindows x86

cryptography-2.4.1-cp34-cp34m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4mWindows x86-64

cryptography-2.4.1-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4mWindows x86

cryptography-2.4.1-cp34-abi3-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.4+

cryptography-2.4.1-cp34-abi3-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 3.4+

cryptography-2.4.1-cp34-abi3-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.4+macOS 10.6+ Intel (x86-64, i386)

cryptography-2.4.1-cp27-cp27mu-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 2.7mu

cryptography-2.4.1-cp27-cp27mu-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.7mu

cryptography-2.4.1-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7mWindows x86-64

cryptography-2.4.1-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7mWindows x86

cryptography-2.4.1-cp27-cp27m-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 2.7m

cryptography-2.4.1-cp27-cp27m-manylinux1_i686.whl (1.9 MB view details)

Uploaded CPython 2.7m

cryptography-2.4.1-cp27-cp27m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

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

File metadata

  • Download URL: cryptography-2.4.1.tar.gz
  • Upload date:
  • Size: 468.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1.tar.gz
Algorithm Hash digest
SHA256 e85b410885addaeb31a867eabcefc9ef4a7e904ad45eac9e60a763a54b244626
MD5 464f180ff64622760cca7167f97b3ff4
BLAKE2b-256 d25f6ed3135eb1e775187f7ecd4e7713f1415516725365e51f9786143f36e024

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8e0eccadc3b465e12c50a5b8fb4d39cf401b44d7bb9936c70fddb5e5aaf740d5
MD5 090714dad03a40dfb5793e79f3bec3ee
BLAKE2b-256 5acbe723c4a2b810ee2cdbc6b6bc93b6d28b78f2504361c7b3c8977fdcf49b9d

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 02915ee546b42ce513e8167140e9937fc4c81a06a82216e086ccce51f347948a
MD5 d026153cb9f8e5459e3640c2e7d68719
BLAKE2b-256 d71bc4dbec2cd371f6048d61d19be8c8812a431eac3283b599739453100da4ff

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b0833d27c7eb536bc27323a1e8e22cb39ebac78c4ef3be0167ba40f447344808
MD5 9d93c7fb671fc14b052affbf894519f4
BLAKE2b-256 25c0e46342325e9d1faf2d3d8b12acadb527e283a5cd4455dc95d98f453df876

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 b72dec675bc59a01edc96616cd48ec465b714481caa0938c8bbca5d18f17d5df
MD5 e47cb44dd19afb033aeb3e6ca9d9a2cb
BLAKE2b-256 b37751c2c25957508a6af48146d4f6b36aff0a0f1d6bd6aae935b49328b9a1cb

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 c800ddc23b5206ce025f23225fdde89cdc0e64016ad914d5be32d1f602ce9495
MD5 d5f0a187a9aa9503d6f52aa61ec6c86c
BLAKE2b-256 d0e6925651835a2892b36e4848472d57a85e2ab95fdf288e1be815764002600d

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp35-cp35m-win32.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 41a1ca14f255df8c44dd22c6006441d631d1589104045ec7263cc47e9772f41a
MD5 a4f831dd8534bb79cca3d2e80aaf89f9
BLAKE2b-256 87eb3a7a34c3dea76f268a09e53b561225525324ada47da17d423890e03e04cb

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 5bac7a2abda07d0c3c8429210349bb54149ad8940dc7bcffedcd56519b410a3c
MD5 6e477b0e4427bb32535b723d49158a16
BLAKE2b-256 e7f46a701aa458c5e0c0c63aece4cc682f1034be2765106b90b4ab9912504027

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp34-cp34m-win32.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 13eac1c477b9af7e9a9024369468d08aead6ad78ed599d163ad046684474364b
MD5 f3506f2c54a48a5c6b567469e5eb8d4c
BLAKE2b-256 95bc8547f7fbef30368275db15c067b9c6e3b2f004e8c003ba92bfb8215f45f8

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp34-abi3-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp34-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.4+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp34-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 07f76bde6815c55195f3b3812d35769cc7c765144c0bb71ae45e02535d078591
MD5 3956bc89f2d9c33dc22036f52b3b208d
BLAKE2b-256 ec181583e40c38ff8572c42e56ce17b95357a9ebb91375cfbd7aad63cac9a32e

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp34-abi3-manylinux1_i686.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp34-abi3-manylinux1_i686.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.4+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp34-abi3-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8004fae1b3cb2dbd90a011ad972e49a7e78a871b89c70cc7213cf4ebd2532bcb
MD5 17f3e4180339e569fd78c4db60d22fb7
BLAKE2b-256 017965e25dfee3eaf4c9bbebac2925d904eb8f59cceafa7014fb2f883b1ea055

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp34-abi3-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp34-abi3-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.4+, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c980c8c313a5e014ae12e2245e89e7b30427e5a98cbb88afe478ecae85f3abaa
MD5 4c86bcd8cf8427de6eff40252b44cffc
BLAKE2b-256 b29f4ff2a7e1240fac88faa2079f580f1f348c2a41901e32d3eff31ae7a675f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03cc8bc5a69ae3d44acf1a03facdb7c10a94c67907862c563e10efe72b737977
MD5 a3c7df012b0f454ed5bcde78d4248de8
BLAKE2b-256 11205f1a36b97976293090e1e529eed2737226438e7fb81664f3fb80899f67b2

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp27-cp27mu-manylinux1_i686.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27mu-manylinux1_i686.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 414af0ba308e74c1f8bc5b11befc86cb66b10be8959547786f64258830d2096f
MD5 a65d3139d215f09ca3c96fa3df694417
BLAKE2b-256 fb84523b63e8bbd3161e572fcd655ef35a3db1fb402dce441f6baebcb3351930

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 179bfb585c5efc87ae0e665770e4896727b92dbc1f810c761b1ebf8363e2fec8
MD5 6df898f2108e66429a1b11d970ac4789
BLAKE2b-256 858dcb8afdb66bddc37f626e6cc0cce243d903abde8762937650dabe7123258b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 a06f5aa6d7a94531dfe82eb2972e669258c452fe9cf88f76116610de4c789785
MD5 f19b6a62655b64a492d5d4ca48f8fa69
BLAKE2b-256 bd82bc2e2bece16f39c841965211e1e96be47e4790b00cf46e4b7cd1e35fe93d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 54947eb98bc4eef99ddf49f45d2694ea5a3929ab3edc9806ad01967368594d82
MD5 67f7ff865b3449a5dc1ebbb3c846517c
BLAKE2b-256 9eeed08769cc2066f3d54d3e526c8a72f6368f01a9dc78bc8e0806f69653886e

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp27-cp27m-manylinux1_i686.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27m-manylinux1_i686.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7f41af8c586bed9f59cfe8832d818b3b75c860d7025da9cd2db76875a72ff785
MD5 bea19a569af032e65cffbfc25e5206b2
BLAKE2b-256 1496ea42696e173878a0e87df71a899703cb83da2b31f255f25a3bdc2591533b

See more details on using hashes here.

File details

Details for the file cryptography-2.4.1-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptography-2.4.1-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 2.7m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 95b4741722269cfdc134fec23b7ae6503ee2aea83d0924cfee6d6ec54cd42d8e
MD5 af99f8dbf10bb70cec332f5454208f9f
BLAKE2b-256 39a7a2c8e2cee558caffe09f4406615adeabea3d75f97ecc20f8a8f629313f02

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