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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

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

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

Uploaded CPython 3.5+

cryptography-2.9.2-cp35-abi3-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.5+macOS 10.9+ x86-64

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

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7m

cryptography-2.9.2-cp27-cp27m-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: cryptography-2.9.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229
MD5 89f355fd2500f7b7ce13999afc7cd092
BLAKE2b-256 563b78c6816918fdf2405d62c98e48589112669f36711e50158a0c15d804c30d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1dfa985f62b137909496e7fc182dac687206d8d089dd03eaeb28ae16eec8e7d5
MD5 cf39d38caf3c70f70ce51816cc35ebb3
BLAKE2b-256 f70033abf1278178dd4314fd943a8b25a39d370acb151e72b0299975af478d1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 844a76bc04472e5135b909da6aed84360f522ff5dfa47f93e3dd2a0b84a89fa0
MD5 0713724f3756ac4d6b7883fa4ac24cc9
BLAKE2b-256 f88c152f01a32248780543c0657830b286638ed18977817b754aa93f235fd5b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 22e91636a51170df0ae4dcbd250d318fd28c9f491c4e50b625a49964b24fe46e
MD5 605ab2aa6a0184073b034afb7a395e50
BLAKE2b-256 b910900ee22ffe6df9955a894286f097f14b108574053ad1d75839a175623e24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 18452582a3c85b96014b45686af264563e3e5d99d226589f057ace56196ec78b
MD5 99d4e64e8e98a27f75292789cae93cd6
BLAKE2b-256 de305bd404ab64bce923a58e501bb278922c5f98f8b53aab059af51d37b827df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bb1f0281887d89617b4c68e8db9a2c42b9efebf2702a3c5bf70599421a8623e3
MD5 16d5c3dc3456eee7d0c2fa9f58be8f6e
BLAKE2b-256 4478817db43993423dd4794d3828495df3425a445214180cfe22d0c81a04a155

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 091d31c42f444c6f519485ed528d8b451d1a0c7bf30e8ca583a0cac44b8a0df6
MD5 91dc27230438a79cec3350cb0c126503
BLAKE2b-256 2ea07a2098f2de23a811c0520bb696143f47a697c7731419a2ac73ca1c996d60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 726086c17f94747cedbee6efa77e99ae170caebeb1116353c6cf0ab67ea6829b
MD5 44bbfcab4c6107387bf34aecd075e538
BLAKE2b-256 b412bf8521b158d2c15cc232af6e38f01f8a2a6b54dbc7c5aeca5ce652709725

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 651448cd2e3a6bc2bb76c3663785133c40d5e1a8c1a9c5429e4354201c6024ae
MD5 37c389b08a1f1278317dfeaf0a377bc7
BLAKE2b-256 13da8b9316d10a820579bf2ce6b69eb75ef371f0f82e7ce6e5b7455c757e9891

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp35-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 88c881dd5a147e08d1bdcf2315c04972381d026cdb803325c03fe2b4a8ed858b
MD5 31e063f2805ce4494e583c4df6f3dfc2
BLAKE2b-256 3c04686efee2dcdd25aecf357992e7d9362f443eb182ecd623f882bc9f7a6bba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp35-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e993468c859d084d5579e2ebee101de8f5a27ce8e2159959b6673b418fd8c785
MD5 92235bf957e26b22546d7bd64e160162
BLAKE2b-256 5895f1282ca55649b60afcf617e1e2ca384a2a3e7a5cf91f724cf83c8fbe76a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-cp35-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.8 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.2-cp35-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 96c080ae7118c10fcbe6229ab43eb8b090fccd31a09ef55f83f690d1ef619a1d
MD5 cc811566ba06e7b3b4e005bda7a28695
BLAKE2b-256 0fed93c2217e732e75c21477c350b2d10a77e08fe2e0065c14644bdb110acfdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1e4014639d3d73fbc5ceff206049c5a9a849cefd106a49fa7aaaa25cc0ce35cf
MD5 e4cfeb0b36dc5d3bf368de798dd7cdff
BLAKE2b-256 45f9ee6878ab822eef403a4282c8ce80d56e3121c9576a6544377df809363b50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d0d5aeaedd29be304848f1c5059074a740fa9f6f26b84c5b63e8b29e73dfc270
MD5 00d14d586267b3a746025a110bf3cc8c
BLAKE2b-256 5ffca92bad2460d349ee9eb868f9f9dcddb7c8f42a45677d53a5c663fa251e75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 c4fd17d92e9d55b84707f4fd09992081ba872d1a0c610c109c18e062e06a2e55
MD5 5600d04fb5745ae30fb901c791cf13e9
BLAKE2b-256 1af9d60709ff026587ce7cad871ba48426e813a32a069c89756784d8f3e028cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 f118a95c7480f5be0df8afeb9a11bd199aa20afab7a96bcf20409b411a3a85f0
MD5 8293dc92829413f34c133a58fff18f8e
BLAKE2b-256 8b08ae480e03a8356d2e7c6135f56d15d205a1b0b2f5d5ee0f123a5777334f7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c447cf087cf2dbddc1add6987bbe2f767ed5317adb2d08af940db517dd704365
MD5 d0ec74f53a1c1b638c3ca78b0fb6d340
BLAKE2b-256 56c97741a8de0c80ca6da2c2ad05e8a41538c2b750030cba0d2ae94712b3a7d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-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.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3b3eba865ea2754738616f87292b7f29448aec342a7c720956f8083d252bf28b
MD5 cfdf47c01ac7e3609fae805c725b09ca
BLAKE2b-256 336168862dc14933c6e592f88c0402b6f404bb8f9813086eff4504df665181dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-2.9.2-cp27-cp27m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.8 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.2-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 daf54a4b07d67ad437ff239c8a4080cfd1cc7213df57d33c97de7b4738048d5e
MD5 e335907a3ba4ce4fd66e55dba31bfef3
BLAKE2b-256 a205ee7f0bfad41e31de14bd579ebdff6bce64cccdcce78725103d629ccd0abf

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