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

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.1.tar.gz (517.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.9.1-cp38-cp38-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

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

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

Uploaded CPython 3.5+

cryptography-2.9.1-cp35-abi3-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.5+macOS 10.9+ x86-64

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

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7m

cryptography-2.9.1-cp27-cp27m-macosx_10_9_x86_64.whl (1.6 MB view details)

Uploaded CPython 2.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: cryptography-2.9.1.tar.gz
  • Upload date:
  • Size: 517.6 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.1.tar.gz
Algorithm Hash digest
SHA256 ce0bd68b4b946bd4bcebc3d4d1325bf0e938e445ae18cedddd60e33dd85a368e
MD5 beda63520d6c47ad7d94c9089508c7f2
BLAKE2b-256 f70bdc724c3e1025b7b61aed8071b551286415dade6861170695293899263d68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 30cef1ade2b01dcdb4a83e05ac8bddd8292328eeb2a27438c7b67305b9f1b7cb
MD5 6852ff06f1ae1d8150404ffe316faf6f
BLAKE2b-256 86c6389379e062bf6e266ddfe7e6f37e56af611db0e707dbcb0142894cf01919

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 222dfaf1e5cd3ab9e6d3aa4c37488bfb011caba31d126d6f1bc978fbdef389ee
MD5 19657fc31820a74894603faaa0d5e23c
BLAKE2b-256 7cf1cf39add58d2e2521056be444bb89d3736518cede7cb90b67ab60179d3234

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4627d7c68a7faf103dfcc55c4deacfdc64b8333f476360bc32a759211ac4c292
MD5 34e8aa3e5007ac7d066346ab34fcea20
BLAKE2b-256 ae146d0e7b3db8540d58ea131ed7b7de36ea02a291841a5447ba60396e678e71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 91a9b087ef65243298d95f3b7633ed9181632810d66009c9c083e3f4f88adac2
MD5 6ae4edb31ee91d8b6f09eabe39943fd9
BLAKE2b-256 277d16ce13509408616478c8e795b037131fb35e58980f0a9d9bf10f7c65bbcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 6df59400467cf7ce96a4913dbd0f0048975a6c0c187c8b94da26a3779c930669
MD5 8e21ba99aaa14d712170e8d8a2addafe
BLAKE2b-256 217543437bcfcf3fb047bd84788321304e587fd1f290a65c1bd59c583dc10773

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 d6492f53b3d9ca8919a6e008502dc8f1e7bd914b1bc4617de28bdefca7025cfe
MD5 1dfedded0c52994b569dd7f1e3f9d18a
BLAKE2b-256 784a66cc4d593d26241c367809bae38e4bfbf29d6af6988b27a553c3815014e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 ed5abba023c90ec6a646da406dbe353faabcdae61b47744f9edc92128c132e73
MD5 4c2b9151a73ed0f164fb09bba7cfcbea
BLAKE2b-256 48a265782a2f7236df0edce68aff6574fefefac52a080f7c4374c11a0eaa7c30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 27cde10edf48282c1ad42a256dac706dca57ac84402e2b6fb35f398352bcba0a
MD5 df818497c1613efc1b4a6cb9964fc8ef
BLAKE2b-256 4375168101b75dd5c0b0e88bb7fd45e198badbe40ded43acc2b9f6682d685fc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp35-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 df831c2f4424c4be9f798d312ac857aadaceaeeb59485415db2b75ddcb35bf19
MD5 b2a8e37627712d56a44300e0f2b96d79
BLAKE2b-256 6df1c69d53593eb92a5e5382fa2101cd9ae861936c6a428092605b4257336171

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp35-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 faed463d561065ad4b48c253f238fc2c21dddafe122fc9d4355c56b6c96603c2
MD5 ab54eaa32f48e88682ea13cb027e1822
BLAKE2b-256 bdcbbb7534b4f3a47d183b7ea61825cf18403116bd160db4ab490c4bdfbe33e2

See more details on using hashes here.

File details

Details for the file cryptography-2.9.1-cp35-abi3-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: cryptography-2.9.1-cp35-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.5+, macOS 10.9+ 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.1-cp35-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7928301d6a81823bc10f7aa84f9346d9535e9c33f402ce6781f40e1f6ec4f739
MD5 d5b6fd62d0bc66b6271f3c84ae2192e7
BLAKE2b-256 527eba12fdfa27e8326d2a43f3a5134e2e2a314b3ca096e903daa447a1ba53ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6da4eba9e4f13c67f2cf83d73d49e9978ae1bc4f7863cc8dd02cba4b2a20b6a1
MD5 4eebee358dcabf2d20a4acd5754bcf25
BLAKE2b-256 0a77968e3fab25da97ffed695e37bed2670b8c5c52402b9aaff02f3c6949af81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2692dac7048ae82c21b8dfc9a60fe735604e872cf29f40edcc71f2755727ba56
MD5 abb53697bcbfa7aca60642f515065ff5
BLAKE2b-256 a5135b974e0b66e3a2bc8c543eeb685d6f79164c73775269e553defd901b77bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 01706e83707767a6c73aec2905f7f01a6b0f28953274262c7257244e1b6e6b41
MD5 a6ba9d67f904b1f6d38813b5f287c8be
BLAKE2b-256 2e13d9b03ff6f330fd12cf93cde3c864943b5ba73a130b3ac974024e7a1cbe61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 43d0f9f30c4a479a1236aedaecf74acd9c4a16abeee1f0f5b95f7df70a96af7f
MD5 c3709da56889a7c30c385cc08686249a
BLAKE2b-256 db55a4c4aa287d2404d8bb7af9cbbeb21179406985e4921c154e874ee32c3a44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e6c1dcd2df58a049c3fb42ffb7fd4faa981f2e2c21a2b7f48c8b860f9f439bde
MD5 fe11f8ed303d7688d2c3bbd44cd55608
BLAKE2b-256 80404b35e409fac7a10ffa06b5203954ce4e66cf44fb024cbefe4d52b53cccbf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.1-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.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 90ebd0f7b637c2e12fc6bb8043a1dd0aefbd6692b31b18e661cac7bd1c097934
MD5 9425646957c5dfaf243df6f8928825de
BLAKE2b-256 b27e2ae1de5461dd17befe0b704ef4896f3e1f3eec58dd5e8e9b473b5707f73c

See more details on using hashes here.

File details

Details for the file cryptography-2.9.1-cp27-cp27m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: cryptography-2.9.1-cp27-cp27m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 2.7m, macOS 10.9+ 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.1-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ac2e5fab056394361721fb4df6687c36d6551ac3b7c28c8d0bc32e5e91e56bbf
MD5 012fce8b3ad12332755419ff69e5a93d
BLAKE2b-256 96cb47860ec7660e02969b65588ec9254d6d8204fe9f2198cfb0b6af453ef5bf

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