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://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.5+, 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.9

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

Uploaded Source

Built Distributions

cryptography-2.9-cp38-cp38-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

cryptography-2.9-cp38-cp38-win32.whl (1.3 MB view details)

Uploaded CPython 3.8 Windows x86

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

cryptography-2.9-cp35-abi3-manylinux2010_x86_64.whl (2.7 MB view details)

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

cryptography-2.9-cp35-abi3-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.5+

cryptography-2.9-cp35-abi3-macosx_10_9_intel.whl (1.7 MB view details)

Uploaded CPython 3.5+ macOS 10.9+ intel

cryptography-2.9-cp27-cp27mu-manylinux2010_x86_64.whl (2.7 MB view details)

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

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

cryptography-2.9-cp27-cp27m-manylinux2010_x86_64.whl (2.7 MB view details)

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

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

Uploaded CPython 2.7m

cryptography-2.9-cp27-cp27m-macosx_10_9_intel.whl (1.7 MB view details)

Uploaded CPython 2.7m macOS 10.9+ intel

File details

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

File metadata

  • Download URL: cryptography-2.9.tar.gz
  • Upload date:
  • Size: 517.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9.tar.gz
Algorithm Hash digest
SHA256 0cacd3ef5c604b8e5f59bf2582c076c98a37fe206b31430d0cd08138aff0986e
MD5 b1d1802e8874fa7d18e84bfe5607333f
BLAKE2b-256 9d0ad7060601834b1a0a84845d6ae2cd59be077aafa2133455062e47c9733024

See more details on using hashes here.

File details

Details for the file cryptography-2.9-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: cryptography-2.9-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6b744039b55988519cc183149cceb573189b3e46e16ccf6f8c46798bb767c9dc
MD5 d37cc892f754128d04c01282616e8b4e
BLAKE2b-256 3c441b2f908a7f55428f3f5df4914dff1b4f97ff07f6848a576682f9a06e9cea

See more details on using hashes here.

File details

Details for the file cryptography-2.9-cp38-cp38-win32.whl.

File metadata

  • Download URL: cryptography-2.9-cp38-cp38-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 9fc9da390e98cb6975eadf251b6e5fa088820141061bf041cd5c72deba1dc526
MD5 4e68ce25378c11d97c3486e057370291
BLAKE2b-256 cc18ee9b2aa0e6c36662ee0e9f68c08f6b5835e0182c340a2ec0b63a3ac6663d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5aca6f00b2f42546b9bdf11a69f248d1881212ce5b9e2618b04935b87f6f82a1
MD5 040fbfa6f583ebc53b821e4665e48a4d
BLAKE2b-256 0a90c89fe99312421faa04bfa0c37e58b121caea83227bd87f2a5aabf2fcaec2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 7598974f6879a338c785c513e7c5a4329fbc58b9f6b9a6305035fca5b1076552
MD5 e6418bd5ae60cb7d8436adc5c1e8614b
BLAKE2b-256 945dd7d66a4ca26b398f758d548abe55c9c1a07621b9a83c80001f91d1e75c48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3be7a5722d5bfe69894d3f7bbed15547b17619f3a88a318aab2e37f457524164
MD5 dd53214a32db81700c4ff8033b5068cf
BLAKE2b-256 dd2944331975262902b15669f152a5932f7962c9f8810d9203e181a0a17e610e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 cc20316e3f5a6b582fc3b029d8dc03aabeb645acfcb7fc1d9848841a33265748
MD5 062a78af5cead936b2c0aff7f07d3058
BLAKE2b-256 bb6e61e6863f8a25368eecad049204ff056517b5f928e012ecc59b7a31cb84a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 587f98ce27ac4547177a0c6fe0986b8736058daffe9160dcf5f1bd411b7fbaa1
MD5 9abe735ed908d32e5c43ff59eb74d260
BLAKE2b-256 e1a0a7c037b577bf9455dea76c654ae90716534b5607e356a6858b3bd85feafa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6b91cab3841b4c7cb70e4db1697c69f036c8bc0a253edc0baa6783154f1301e4
MD5 16f309d9cfd350d77794f773b7fc6ceb
BLAKE2b-256 b96238522db0e0af50e349f89c1157bafdb310a535b6dc212b3e18c1454ca918

See more details on using hashes here.

File details

Details for the file cryptography-2.9-cp35-abi3-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-2.9-cp35-abi3-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.5+, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp35-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 49870684da168b90110bbaf86140d4681032c5e6a2461adc7afdd93be5634216
MD5 7b81df916bb16daa61f54d7395584eec
BLAKE2b-256 8f2d29d2638b8df016526182594166c220913dafba3da0019b0776ff1bbc8ede

See more details on using hashes here.

File details

Details for the file cryptography-2.9-cp35-abi3-manylinux1_x86_64.whl.

File metadata

  • Download URL: cryptography-2.9-cp35-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.5+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp35-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7a279f33a081d436e90e91d1a7c338553c04e464de1c9302311a5e7e4b746088
MD5 59794b4d03c1c99f1864a152cca5834c
BLAKE2b-256 dc5ee1e6991a841a9e88eb848634026199fa92665ae792ee6362a0cfa0ece3dc

See more details on using hashes here.

File details

Details for the file cryptography-2.9-cp35-abi3-macosx_10_9_intel.whl.

File metadata

  • Download URL: cryptography-2.9-cp35-abi3-macosx_10_9_intel.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.5+, macOS 10.9+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp35-abi3-macosx_10_9_intel.whl
Algorithm Hash digest
SHA256 1b9b535d6b55936a79dbe4990b64bb16048f48747c76c29713fea8c50eca2acf
MD5 c71e9f6924abb4c3f17dddf3466753c9
BLAKE2b-256 49ea89a589810c522dee0bffecf765543b244702d15360a3de18354fe12e0e3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d1bf5a1a0d60c7f9a78e448adcb99aa101f3f9588b16708044638881be15d6bc
MD5 69278c14090f25f1ee3ad2048d073b44
BLAKE2b-256 832e2f39291aeb57931a97200d103dbab8530f27553410ae4b3357f080505d26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 19ae795137682a9778892fb4390c07811828b173741bce91e30f899424b3934d
MD5 9be668b598151c2009d73a9d1ba0a185
BLAKE2b-256 2b93329f8ef958d7a39c52750c96f0af9fb28df21f009cd4ead9e5f2a745c0f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 ed1d0760c7e46436ec90834d6f10477ff09475c692ed1695329d324b2c5cd547
MD5 684c49333751883a7eb3fb5e46895a7c
BLAKE2b-256 e1aa400d1d7393ffd72fbb1db2976959aea512aa268e4a2c624944cb6d3cde75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 192ca04a36852a994ef21df13cca4d822adbbdc9d5009c0f96f1d2929e375d4f
MD5 2861d2427b025ae9a0282209902e7c8a
BLAKE2b-256 d8d9c6cbf6a553d0f158f23fb6fd6aeefd5a72a42b139a89445bdbdae5483a65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 95e1296e0157361fe2f5f0ed307fd31f94b0ca13372e3673fa95095a627636a1
MD5 039b5517617996ae237f04d3c9323c3c
BLAKE2b-256 ec91dc800fa8af92c3b67408e19346c69cc19ffd7842dc7b145777a8bb64a1ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9-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.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2a2ad24d43398d89f92209289f15265107928f22a8d10385f70def7a698d6a02
MD5 64b457ba1b47401703c631251f37c899
BLAKE2b-256 149aa551909591da5ebb05a28cfea736bad7e1ea8f077e548b1a940bb102351e

See more details on using hashes here.

File details

Details for the file cryptography-2.9-cp27-cp27m-macosx_10_9_intel.whl.

File metadata

  • Download URL: cryptography-2.9-cp27-cp27m-macosx_10_9_intel.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 2.7m, macOS 10.9+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

File hashes

Hashes for cryptography-2.9-cp27-cp27m-macosx_10_9_intel.whl
Algorithm Hash digest
SHA256 ef9a55013676907df6c9d7dd943eb1770d014f68beaa7e73250fb43c759f4585
MD5 8a5778cd6ea01464ee01d55a98192e8c
BLAKE2b-256 005ab52ac5931a615eea68a2522e7acd31e93631855c1750aa86432c19928a71

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page