Skip to main content

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Project description

Latest Version Latest Docs 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 3.6+ and PyPy3 7.2+.

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

Uploaded Source

Built Distributions

cryptography-3.4.5-cp36-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.6+ Windows x86-64

cryptography-3.4.5-cp36-abi3-win32.whl (1.4 MB view details)

Uploaded CPython 3.6+ Windows x86

cryptography-3.4.5-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.6+

cryptography-3.4.5-cp36-abi3-manylinux2010_x86_64.whl (3.1 MB view details)

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

cryptography-3.4.5-cp36-abi3-macosx_10_10_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.6+ macOS 10.10+ x86-64

File details

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

File metadata

  • Download URL: cryptography-3.4.5.tar.gz
  • Upload date:
  • Size: 546.6 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.4.5.tar.gz
Algorithm Hash digest
SHA256 4f6761a82b51fe02cda8f45af1c2f698a10f50003dc9c2572d8a49eda2e6d35b
MD5 7e83c7259e1a823cebc5c18479716627
BLAKE2b-256 606db32368327f600a12e59fb51a904fc6200dd7e65e953fd6fc6ae6468e3423

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.5-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: cryptography-3.4.5-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.6+, 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.4.5-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8b3b79af57e12aabbc3db81e563eaa07870293a1ffdcc891d107035ce9a0dbff
MD5 9ee4f031a345c230197af3dc8434341c
BLAKE2b-256 76a58c407ace2d62bf678411577d45a43e93cfa45214f719616e1134603c7b26

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.5-cp36-abi3-win32.whl.

File metadata

  • Download URL: cryptography-3.4.5-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.6+, 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.4.5-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 b0873ac0c0e6bc6882cd285930cc382ec4e78786be71bdc113c06246eea61294
MD5 74fb897a8ab81449da73588b8f09a503
BLAKE2b-256 a01e29afddfe6825039310dcbca0e3abd906a6f3eabccfac2eadd6c8dc22e067

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.5-cp36-abi3-manylinux2014_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.5-cp36-abi3-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6+
  • 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.4.5-cp36-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c6f7552d4f2130542d488b9d9e5b1546204b5d1aa90c823d50cce8eed421363
MD5 b7bcca7811170b2aa3eb995fef8cbd4b
BLAKE2b-256 2f616f4765822d1f3878c913755bd99212f1ab0b9fa808fc2197ace0790f4cdb

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.5-cp36-abi3-manylinux2014_aarch64.whl.

File metadata

  • Download URL: cryptography-3.4.5-cp36-abi3-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: CPython 3.6+
  • 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.4.5-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0bf49d5b38e4f3745a0eab0597fa97720dd49b30d65f534b49a82e303f149deb
MD5 f382570685ddb749796da80843ab8412
BLAKE2b-256 3e9bf4e5551c521090ddb6473cad3e78ef1a7db289072a16599864da6c253d5a

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.5-cp36-abi3-manylinux2010_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.5-cp36-abi3-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6+, 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.4.5-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c8dc9859c5a046e1ca22da360dfd609c09064a4f974881cb5cba977c581088ec
MD5 5a2a73c78afbdeb3298a15f3c1dfaacc
BLAKE2b-256 cc62d6c69efc81b18b2355f1704cef1f997c8149c7c3cebd43d023522714a31c

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-3.4.5-cp36-abi3-macosx_10_10_x86_64.whl.

File metadata

  • Download URL: cryptography-3.4.5-cp36-abi3-macosx_10_10_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.6+, 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.4.5-cp36-abi3-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 18d6f3ac1da14a01c95f4590ee58e96aa6628d231ce738e9eca330b9997127b6
MD5 c86fda796a45c655a40b17bf76c569ce
BLAKE2b-256 8b19dfebf9344ea8468007f9a7aeba7e4623ca2e344785cf3660bbd7bf6477ff

See more details on using hashes here.

Provenance

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