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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4+

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

Uploaded CPython 3.4+

cryptography-2.3.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.3.1-cp27-cp27mu-manylinux1_x86_64.whl (2.1 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

cryptography-2.3.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.3.1.tar.gz.

File metadata

  • Download URL: cryptography-2.3.1.tar.gz
  • Upload date:
  • Size: 449.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1.tar.gz
Algorithm Hash digest
SHA256 8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6
MD5 2b5e8269c43c9b9ab54fc8c75ba3c7ac
BLAKE2b-256 2221233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f995d3667301e1754c57b04e0bae6f0fa9d710697a9f8d6712e8cca02550910f
MD5 0519e17e6ccc696d3d1ead2bac1e7272
BLAKE2b-256 39dd43985388f82ac0b4698671e96235c6324bdf14339e21eb3647f4e5b99017

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e79ab4485b99eacb2166f3212218dd858258f374855e1568f728462b0e6ee0d9
MD5 edd70ffd35bd655ebc7297389c40df9c
BLAKE2b-256 daf66b9f031611697cb61d25c884237a8762725df7373a0accd49b39fbbb23cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 227da3a896df1106b1a69b1e319dce218fa04395e8cc78be7e31ca94c21254bc
MD5 45e0ccace37ab7dbc376a1d037f223e9
BLAKE2b-256 f101a144ec664d3f9ae5837bd72c4d11bdd2d8d403318898e4092457e8af9272

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 4a510d268e55e2e067715d728e4ca6cd26a8e9f1f3d174faf88e6f2cb6b6c395
MD5 15ca5f8a9d14cd1ffc91ecaaf0475e4e
BLAKE2b-256 974943a872b608aae588e51ba31c1be9d46b4fe91c77526a0191a4eafaefa504

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 be495b8ec5a939a7605274b6e59fbc35e76f5ad814ae010eb679529671c9e119
MD5 32e8c06c7536a07fcbd6895c0b0ccaa5
BLAKE2b-256 d361d03d9f3138df0d30f779f04e2fe38ace60e6e478ec0f90eb49a97911df01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6a88d9004310a198c474d8a822ee96a6dd6c01efe66facdf17cb692512ae5bc0
MD5 11099e3a78dfd72ed93143847fc55aba
BLAKE2b-256 3b5f4fb26f2e3ef521f5eff091dfb68b76059f44fab37c607d841b6dae97ae3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 8168bcb08403ef144ff1fb880d416f49e2728101d02aaadfe9645883222c0aa5
MD5 43929b3a29ce52a30de1adad33a4cfbf
BLAKE2b-256 e3c5849e48e0257d23366a59d661dae74074d965278af881104f015bdd8d541a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 8a19e9f2fe69f6a44a5c156968d9fc8df56d09798d0c6a34ccc373bb186cee86
MD5 6374b3d991f1624153a59559e2a77df7
BLAKE2b-256 bd2fa895abaf04046879d388819ade3938c14cc7ccf903d3cac7640bffa74718

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp34-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8229ceb79a1792823d87779959184a1bf95768e9248c93ae9f97c7a2f60376a1
MD5 9d2653ccb42a7df40ecae14cd69f0112
BLAKE2b-256 593292cade62c645756a83598edf56289e9b19aae5370642a7ce690cd06bc72f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp34-abi3-manylinux1_i686.whl
Algorithm Hash digest
SHA256 76936ec70a9b72eb8c58314c38c55a0336a2b36de0c7ee8fb874a4547cadbd39
MD5 51d57726333e696f7b977e58056bc271
BLAKE2b-256 4cbffd46f768817f19121f5d9544be81d77e7968647acb037744494080684291

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 dc2d3f3b1548f4d11786616cf0f4415e25b0fbecb8a1d2cd8c07568f13fdde38
MD5 181f5c6894c5b012e6b8ba1d8a289eeb
BLAKE2b-256 980ba6f293e5f10095dd8657a1b125c1ba6995c59d39cd8e20355475c8f760d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 31db8febfc768e4b4bd826750a70c79c99ea423f4697d1dab764eb9f9f849519
MD5 a023422f96860cf4639891b4c1fc2d87
BLAKE2b-256 87e6915a482dbfef98bbdce6be1e31825f591fc67038d4ee09864c1d2c3db371

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2cbaa03ac677db6c821dac3f4cdfd1461a32d0615847eedbb0df54bb7802e1f7
MD5 eedc2c001e97c8f9fabb0c17d17fea3f
BLAKE2b-256 8a5dbe750bb858cfda0be7bcad88ef13acd0cb2f88a7490f361c0c814cb55dcd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 02602e1672b62e803e08617ec286041cc453e8d43f093a5f4162095506bc0beb
MD5 80bc3939ec11476a3b489f65b161b77e
BLAKE2b-256 765163d1185a47fd1185acec681d124182db5b2719909eb6f541952db8c3f18d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 7e3b4aecc4040928efa8a7cdaf074e868af32c58ffc9bb77e7bf2c1a16783286
MD5 2b3ee3378e87f2ae16857f6e50564d28
BLAKE2b-256 24fc4c5459b470068692fadd135080bbec1ee5b9e9de27cfd04f5a0d4b7a2400

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 10b48e848e1edb93c1d3b797c83c72b4c387ab0eb4330aaa26da8049a6cbede0
MD5 77ccd1195f256b29567279132e06eb04
BLAKE2b-256 3a5acbdcb83988aad2a0363efe1b96f2a75a197449835221db63121da1063b15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e4aecdd9d5a3d06c337894c9a6e2961898d3f64fe54ca920a72234a3de0f9cb3
MD5 baab0abf41bb4dfaf6d03547ce3d483a
BLAKE2b-256 1a198317280e0799b178bc0963926edbcd6c68f619ff363137ea180c23900a21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.3.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.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.4

File hashes

Hashes for cryptography-2.3.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 17db09db9d7c5de130023657be42689d1a5f60502a14f6f745f6f65a6b8195c0
MD5 75f6e3fdc44addf3bdb2e6ed52078929
BLAKE2b-256 5db19863611b121ee524135bc0068533e6d238cc837337170e722224fe940e2d

See more details on using hashes here.

Supported by

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