Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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://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.4+, and PyPy 5.3+.

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


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cryptography-2.3.1-cp27-cp27m-macosx_10_6_intel.whl (1.5 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp27-cp27m-manylinux1_i686.whl (1.9 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp27-cp27m-manylinux1_x86_64.whl (2.1 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp27-cp27mu-manylinux1_i686.whl (1.9 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp27-cp27mu-manylinux1_x86_64.whl (2.1 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp27-cp27m-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp27-cp27m-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 14, 2018
cryptography-2.3.1-cp34-abi3-macosx_10_6_intel.whl (1.5 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 14, 2018
cryptography-2.3.1-cp34-abi3-manylinux1_i686.whl (1.9 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 14, 2018
cryptography-2.3.1-cp34-abi3-manylinux1_x86_64.whl (2.1 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 14, 2018
cryptography-2.3.1-cp34-cp34m-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 14, 2018
cryptography-2.3.1-cp34-cp34m-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 14, 2018
cryptography-2.3.1-cp35-cp35m-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 14, 2018
cryptography-2.3.1-cp35-cp35m-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 14, 2018
cryptography-2.3.1-cp36-cp36m-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 14, 2018
cryptography-2.3.1-cp36-cp36m-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 14, 2018
cryptography-2.3.1-cp37-cp37m-win32.whl (1.1 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 14, 2018
cryptography-2.3.1-cp37-cp37m-win_amd64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 14, 2018
cryptography-2.3.1.tar.gz (449.6 kB) Copy SHA256 hash SHA256 Source None Aug 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page