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://dev.azure.com/pyca/cryptography/_apis/build/status/Azure%20CI?branchName=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.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

2.7

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

Uploaded Source

Built Distributions

cryptography-2.7-cp37-cp37m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.7mWindows x86-64

cryptography-2.7-cp37-cp37m-win32.whl (1.3 MB view details)

Uploaded CPython 3.7mWindows x86

cryptography-2.7-cp36-cp36m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.6mWindows x86-64

cryptography-2.7-cp36-cp36m-win32.whl (1.3 MB view details)

Uploaded CPython 3.6mWindows x86

cryptography-2.7-cp35-cp35m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.5mWindows x86-64

cryptography-2.7-cp35-cp35m-win32.whl (1.3 MB view details)

Uploaded CPython 3.5mWindows x86

cryptography-2.7-cp34-cp34m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.4mWindows x86-64

cryptography-2.7-cp34-cp34m-win32.whl (1.3 MB view details)

Uploaded CPython 3.4mWindows x86

cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.4+

cryptography-2.7-cp34-abi3-macosx_10_6_intel.whl (1.6 MB view details)

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

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

cryptography-2.7-cp27-cp27m-macosx_10_6_intel.whl (1.6 MB view details)

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

File details

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

File metadata

  • Download URL: cryptography-2.7.tar.gz
  • Upload date:
  • Size: 495.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7.tar.gz
Algorithm Hash digest
SHA256 e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6
MD5 7dfe1035cae43569e571318f000462a4
BLAKE2b-256 c295f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f27d93f0139a3c056172ebb5d4f9056e770fdf0206c2f422ff2ebbad142e09ed
MD5 41d3242b237223899349c4e12b949e7d
BLAKE2b-256 3373fc8c85104bd316086a7717d4970aec5e05fafcd6b9bf7257fe3621b180a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 961e886d8a3590fd2c723cf07be14e2a91cf53c25f02435c04d39e90780e3b53
MD5 5306a9bcd7125e071893f84999efd55e
BLAKE2b-256 7dc9574f2cffcd4b9213b019b25ac158d71e17b549a43cb5f0912b418c2f06e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5f61c7d749048fa6e3322258b4263463bfccefecb0dd731b6561cb617a1d9bb9
MD5 9d89090b8091f4eaea990d33dcf1355a
BLAKE2b-256 311ff158f5e83c934ff71cde6c54ebcac48547ec05c01836054ea721daf9840b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 72e24c521fa2106f19623a3851e9f89ddfdeb9ac63871c7643790f872a305dfc
MD5 5060eaf4857548b2ff2cce09137d4b19
BLAKE2b-256 f849f48261514feab2ece4d48047adac3b70c7b3516f3c6bedc1379d0474bd14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 3452bba7c21c69f2df772762be0066c7ed5dc65df494a1d53a58b683a83e1216
MD5 e9cebbc087f9f989ef9a588ef6bf24a5
BLAKE2b-256 b82449a752154b33420f43e421f60992d1fe62f08b848d45d3fef92dff13ef4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 7b97ae6ef5cba2e3bb14256625423413d5ce8d1abb91d4f29b6d1a081da765f8
MD5 5e245fa721b2068ae8588d58c3be56e8
BLAKE2b-256 682c8602793c5097d55f6e45e4427df40af3233021f11156d475e283806e39c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 5751d8a11b956fbfa314f6553d186b94aa70fdb03d8a4d4f1c82dcacf0cbe28a
MD5 0bfeb7f4bd9a766eb78c9e900651a579
BLAKE2b-256 b3fe341d934f7e7e7b4d6b0b5297467786d5b5488f70c1332d0558cd1df70a5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 25dd1581a183e9e7a806fe0543f485103232f940fcfc301db65e630512cce643
MD5 36b1216f2751872831fd59e3be669272
BLAKE2b-256 6b77486d268d4b602f9d262b445b506446617f772fcd4ea47d49ec6cae91f4e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.4+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 96d8473848e984184b6728e2c9d391482008646276c3ff084a1bd89e15ff53a1
MD5 151fa949e1988bbbd355283306a5700d
BLAKE2b-256 9718c6557f63a6abde34707196fb2cad1c6dc0dbff25a200d5044922496668a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp34-abi3-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.6 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.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 24b61e5fcb506424d3ec4e18bca995833839bf13c59fc43e530e488f28d46b8c
MD5 5d72d0307deec8c5426d4c89273cc004
BLAKE2b-256 634e57b7a6bd98906872fcd2531e74b532de2abe17d675a5cf171931fcb4a9e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ae536da50c7ad1e002c3eee101871d93abdc90d9c5f651818450a0d3af718609
MD5 785dd7305916f4ee195af2d39c14514a
BLAKE2b-256 e66850698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-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/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 41a0be220dd1ed9e998f5891948306eb8c812b512dc398e5a01846d855050799
MD5 0d7e29e2b81962f876130e458bd44953
BLAKE2b-256 d8306313af106e5abff8bfa78eb2ce630673bb5add4fafd3b28d4bd0271c8e7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 b0db0cecf396033abb4a93c95d1602f268b3a68bb0a9cc06a7cff587bb9a7292
MD5 c3139ee54c557a308ed6badae3268644
BLAKE2b-256 117b998951367688566f44bc922dad428ec1ae2f8af2d774cf29a567a419c5c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cfee9164954c186b191b91d4193989ca994703b2fff406f71cf454a2d3c7327e
MD5 5d013b1d7f52cd0c1fde6d5e077333d1
BLAKE2b-256 b2119990184d2eeccea1daeafae6d11b2772d908795e286f9c6346582f1c57eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.7-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.6 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.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for cryptography-2.7-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f57b76e46a58b63d1c6375017f4564a28f19a5ca912691fd2e4261b3414b618d
MD5 ce89fd2d83aa277433be5fa75a8f9952
BLAKE2b-256 e2bf3b641820c561aedde134e88528ba68dffe41ed238899fab7f7ef20118aaf

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