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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4+

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

Uploaded CPython 3.4+

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

cryptography-2.4.2-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.2.tar.gz.

File metadata

  • Download URL: cryptography-2.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 05a6052c6a9f17ff78ba78f8e6eb1d777d25db3b763343a1ae89a7a8670386dd
MD5 26bad6a40a373e2ad43dfa13dc4b162b
BLAKE2b-256 f339d3904df7c56f8654691c4ae1bdb270c1c9220d6da79bd3b1fbad91afd0e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 418e7a5ec02a7056d3a4f0c0e7ea81df374205f25f4720bb0e84189aa5fd2515
MD5 1710a757b57757b570abb681014dfe9e
BLAKE2b-256 c7c72b97b9af3b16ea45aeabd5fe7eb07902c0c24c5d596b68f677c1f50ae55e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 1b1f136d74f411f587b07c076149c4436a169dc19532e587460d9ced24adcc13
MD5 a0cb14c421e97b5a7f5f7aa321efce9e
BLAKE2b-256 322cccf93f973f4640796068745dbbc53c90016614e9007ca71f58a3d222bea7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2454ada8209bbde97065453a6ca488884bbb263e623d35ba183821317a58b46f
MD5 bead283af6d6651f255aa4d705152221
BLAKE2b-256 3ca5ac7f4d9fa22cf6783e2d62cbfdf0b14b937d873a9d129f8d4d95e2184af5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 1699f3e916981df32afdd014fb3164db28cdb61c757029f502cb0a8c29b2fdb3
MD5 c66c21144a1ac330432215c07ac37f9b
BLAKE2b-256 afd79e6442de1aa61d3268e5abd7fb73b130cfc2e42439a7db42248653844593

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 da5b5dda4aa0d5e2b758cc8dfc67f8d4212e88ea9caad5f61ba132f948bab859
MD5 a2e32709978525ae7756385f06608474
BLAKE2b-256 4c2723ba63e53daa0067f763c42e06c06f93b2d184276c9fc45a0e08b0d530aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6afe324dfe6074822ccd56d80420df750e19ac30a4e56c925746c735cf22ae8b
MD5 735bcf6189a1d0211c5afdc72d45b8de
BLAKE2b-256 60781dbbca7cf0f7b4188026d06f865e4bd350cc19db4b83bd8a039606420b06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 70c2b04e905d3f72e2ba12c58a590817128dfca08949173faa19a42c824efa0b
MD5 7792486d2701ecaa4f2859be1c36c86e
BLAKE2b-256 b6a65140258106bc68d4b2c0205b0316fb009599cbb0f3d3bcfb2191adf05405

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 471a097076a7c4ab85561d7fa9a1239bd2ae1f9fd0047520f13d8b340bf3210b
MD5 13f1aa63d7930a4beda5206e282386b4
BLAKE2b-256 526d3d136e3f926ae8e9667f0b6c7b4fdeef9ab953fa1812f5c864560fccd89b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp34-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 70596e90398574b77929cd87e1ac6e43edd0e29ba01e1365fed9c26bde295aa5
MD5 0769b4e5ffcbe5ed3e4fc5a893a750bc
BLAKE2b-256 60c799b33c53cf3f20a97a4c4bfd3ab66dcc93d99da0a97cc9597aa36ae6bb62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp34-abi3-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8908f1db90be48b060888e9c96a0dee9d842765ce9594ff6a23da61086116bb6
MD5 6eb6586d71990ee70e5083d376746067
BLAKE2b-256 b6bed35ce66c4e150f6f0f74f9a73962afe893ca60ec2e522a206a80d440ad60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 21e63dd20f5e5455e8b34179ac43d95b3fb1ffa54d071fd2ed5d67da82cfe6dc
MD5 cf60b92a7cb65e5da32a59c3c57a0d6c
BLAKE2b-256 18d57f725ac9ff162c93f67087414961b8256019527093d31e4c1fa9c377170a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 af12dfc9874ac27ebe57fc28c8df0e8afa11f2a1025566476b0d50cdb8884f70
MD5 d6e86473382bfa2b1076005b0896f3ce
BLAKE2b-256 7fba383b51cc26e3141c689ce988814385c7659f5ba01c4b5f2de38233010b5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0eb83a24c650a36f68e31a6d0a70f7ad9c358fa2506dc7b683398b92e354a038
MD5 5072e0e487b24d0175cb4c22581dd39c
BLAKE2b-256 f6a9b16600b0cd268337b11ce52acdf3a0503067c1aee8cb9db507e7e21700db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 3cdc5f7ca057b2214ce4569e01b0f368b3de9d8ee01887557755ccd1c15d9427
MD5 f1f24daf27068f97f0da9d0690180fde
BLAKE2b-256 1538aefb0ac8f2812d3ec4f2e86cf76e2a785c8776d2372d5ed56326a0d1fc69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 5ecaf9e7db3ca582c6de6229525d35db8a4e59dc3e8a40a331674ed90e658cbf
MD5 38ad079c31a4ff3e5d4e88477fba5b89
BLAKE2b-256 f2fe0877f63affd2ad8c3390d21f76342ef5229fd932f9f9e7388feaf705b040

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b4fc04326b2d259ddd59ed8ea20405d2e695486ab4c5e1e49b025c484845206e
MD5 40a69f2b8a0e5bd2a11d1d5af2497021
BLAKE2b-256 1a0693bc0c01c61d7845b45e6751640d1ab83132964bfb3e71187acf94dc7193

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 63b064a074f8dc61be81449796e2c3f4e308b6eba04a241a5c9f2d05e882c681
MD5 83afa720541beca35e3b977dcd62ee26
BLAKE2b-256 97b7af53253e3bb3d491ed7bf661386821d3fe1e95fb7c51faf4f8d953e2a45a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.4.2-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.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0ff4a3d6ea86aa0c9e06e92a9f986de7ee8231f36c4da1b31c61a7e692ef3378
MD5 71dca42e4ad8ab54919a273b78f2276c
BLAKE2b-256 76693464878ad1211f1f842e89217d907645849c5bfe20e20c695a1d7e4a7c88

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