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

3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptography-3.0.tar.gz (534.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

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

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

Uploaded CPython 3.5+

cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.5+macOS 10.10+ x86-64

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

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

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

Uploaded CPython 2.7m

cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl (1.8 MB view details)

Uploaded CPython 2.7mmacOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: cryptography-3.0.tar.gz
  • Upload date:
  • Size: 534.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0.tar.gz
Algorithm Hash digest
SHA256 8e924dbc025206e97756e8903039662aa58aa9ba357d8e1d8fc29e3092322053
MD5 163608a7cb838c6b39360e1e64377d54
BLAKE2b-256 bfac552fc8729d90393845cc3a2062facf4a89dcbe206fa78771d60ddaae7554

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bea0b0468f89cdea625bb3f692cd7a4222d80a6bdafd6fb923963f2b9da0e15f
MD5 9a6076c83e8c01ed663f9efd3e7d0b87
BLAKE2b-256 00fced8cf3e3d3817707c11da167a3478f9cb834afed5e8af450516752bb7df8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 8713ddb888119b0d2a1462357d5946b8911be01ddbf31451e1d07eaa5077a261
MD5 e090410291831b06945591604baa2fd9
BLAKE2b-256 fe7e4e0741a614a3c557b5d1c38432dc65bb03f8940d7ca5110487538d2d60c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4b9303507254ccb1181d1803a2080a798910ba89b1a3c9f53639885c90f7a756
MD5 410a61e5f7c3a88d2c5d7528be4f8436
BLAKE2b-256 3351a13191800bb4dd5026629a4450031ef7afcb4d44d314145a3b546ddf8eb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 8ecef21ac982aa78309bb6f092d1677812927e8b5ef204a10c326fc29f1367e2
MD5 7e32113c0c7615d41085485f529cbce6
BLAKE2b-256 9dee19a85d2b714b379a18dbf62127117d0d66e496bfd7459462501a1ed0d72c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 45741f5499150593178fc98d2c1a9c6722df88b99c821ad6ae298eff0ba1ae71
MD5 e2f4871a5d1b6b71c14b371d09db5d0f
BLAKE2b-256 2143e500a47cec3d812d74d115797f7e6dc556aa07ee73ee036ca7e841b8935f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 4d355f2aee4a29063c10164b032d9fa8a82e2c30768737a2fd56d256146ad559
MD5 eef3d9529a3e1ccca00b812afd068364
BLAKE2b-256 cbb7d3c65b0d173fec678e8fd49ed3b392a8ad84339c7208f118e915ba47dc4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 384d7c681b1ab904fff3400a6909261cae1d0939cc483a68bdedab282fb89a07
MD5 1657c9e9673bf1666bfa87f705a60158
BLAKE2b-256 02664109be9592d797ca63b62e5d0955700acb68c4d5bf3cee289da0448e02c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9367d00e14dee8d02134c6c9524bb4bd39d4c162456343d07191e2a0b5ec8b3b
MD5 8caa0d631fb46da812af63f7edb07b6f
BLAKE2b-256 188eaffd19a89039581f309ef8739a9befac3437c1396c72829f778d7eee5acc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp35-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ce82cc06588e5cbc2a7df3c8a9c778f2cb722f56835a23a68b5a7264726bb00c
MD5 9c961adfe859658df2e69467bd29ffd7
BLAKE2b-256 ba9184a29d6a27fd6dfc21f475704c4d2053d58ed7a4033c2b0ce1b4ca4d03d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp35-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a09fd9c1cca9a46b6ad4bea0a1f86ab1de3c0c932364dbcf9a6c2a5eeb44fa77
MD5 8ae71b4507593596fc06f591846bd6f8
BLAKE2b-256 26d6e8b087b9ae062d737c67c3bf76e30333bda9295ca17205062e8ed2c872de

See more details on using hashes here.

File details

Details for the file cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.5+, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0cbfed8ea74631fe4de00630f4bb592dad564d57f73150d6f6796a24e76c76cd
MD5 1fd56a41c9676f0dafb19c6db69183d8
BLAKE2b-256 8add3b4b1ff1f4ab5aec83b5b0486b9df32fd3c8bf5f540c3bb2bdf403b68d0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bec7568c6970b865f2bcebbe84d547c52bb2abadf74cefce396ba07571109c67
MD5 27803fa1d3e6b523ce32576a5c7894c3
BLAKE2b-256 b8862692315807539c0f6452c58661d268c88d5fb79acf6c13279eb7b87ecd81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0c608ff4d4adad9e39b5057de43657515c7da1ccb1807c3a27d4cf31fc923b4b
MD5 3b3112ae1179803ab380da56a0d367c9
BLAKE2b-256 6658d7ff652d30e8cbabd8946b3116fba73b39a73ea9c63943b3c1bf3cfcf190

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 8ecf9400d0893836ff41b6f977a33972145a855b6efeb605b49ee273c5e6469f
MD5 c8a18bf3060ecc82d909347997621510
BLAKE2b-256 607c579b37928db3774d13aed3d423adfca4f1b781429508aad368ad623bf8e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 dea0ba7fe6f9461d244679efa968d215ea1f989b9c1957d7f10c21e5c7c09ad6
MD5 42f2bf3ccab6a9cce9ddbd28442ac9da
BLAKE2b-256 2d5ac67fa6333657b0396c3a97cba3ab628cb7063794ba3b056b3215d71853f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 51e40123083d2f946794f9fe4adeeee2922b581fa3602128ce85ff813d85b81f
MD5 2ecf9d27594c4cf2c69c3f08f6956cbb
BLAKE2b-256 d08e83bd38a03f3cd5907adc31a42d231de1124bd32327e101a854913c338a60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptography-3.0-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.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 124af7255ffc8e964d9ff26971b3a6153e1a8a220b9a685dc407976ecb27a06a
MD5 bec4e804a1335d3cf5579b402c42eb56
BLAKE2b-256 a752cc9eacbe78ade8bae06c1026916b4e607b3663b5c53da590a28c607f91b9

See more details on using hashes here.

File details

Details for the file cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 2.7m, macOS 10.10+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for cryptography-3.0-cp27-cp27m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 ab49edd5bea8d8b39a44b3db618e4783ef84c19c8b47286bf05dfdb3efb01c83
MD5 111294cb0971373bda4b710bd4c2f590
BLAKE2b-256 b8b95d0dc6fe8ddc339336c4c201c8b9e4dc4de08a0fdabf77798dd2dbffb215

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