skip to navigation
skip to content

cryptography 2.0

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

Latest Version: 2.1.3

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.6-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.

 
File Type Py Version Uploaded on Size
cryptography-2.0-cp26-cp26m-macosx_10_12_intel.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp26-cp26m-manylinux1_i686.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp26-cp26m-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp26-cp26m-win32.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp26-cp26m-win_amd64.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp26-cp26mu-manylinux1_i686.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp26-cp26mu-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp26 2017-07-17 1MB
cryptography-2.0-cp27-cp27m-macosx_10_6_intel.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp27-cp27m-manylinux1_i686.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp27-cp27m-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp27-cp27m-win32.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp27-cp27m-win_amd64.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp27-cp27mu-manylinux1_i686.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp27-cp27mu-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp27 2017-07-17 1MB
cryptography-2.0-cp33-cp33m-win32.whl (md5, pgp) Python Wheel cp33 2017-07-17 1MB
cryptography-2.0-cp33-cp33m-win_amd64.whl (md5, pgp) Python Wheel cp33 2017-07-17 1MB
cryptography-2.0-cp34-cp34m-macosx_10_6_intel.whl (md5, pgp) Python Wheel cp34 2017-07-17 1MB
cryptography-2.0-cp34-cp34m-manylinux1_i686.whl (md5, pgp) Python Wheel cp34 2017-07-17 1MB
cryptography-2.0-cp34-cp34m-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp34 2017-07-17 1MB
cryptography-2.0-cp34-cp34m-win32.whl (md5, pgp) Python Wheel cp34 2017-07-17 1MB
cryptography-2.0-cp34-cp34m-win_amd64.whl (md5, pgp) Python Wheel cp34 2017-07-17 1MB
cryptography-2.0-cp35-cp35m-macosx_10_6_intel.whl (md5, pgp) Python Wheel cp35 2017-07-17 1MB
cryptography-2.0-cp35-cp35m-manylinux1_i686.whl (md5, pgp) Python Wheel cp35 2017-07-17 1MB
cryptography-2.0-cp35-cp35m-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp35 2017-07-17 1MB
cryptography-2.0-cp35-cp35m-win32.whl (md5, pgp) Python Wheel cp35 2017-07-17 1MB
cryptography-2.0-cp35-cp35m-win_amd64.whl (md5, pgp) Python Wheel cp35 2017-07-17 1MB
cryptography-2.0-cp36-cp36m-macosx_10_6_intel.whl (md5, pgp) Python Wheel cp36 2017-07-17 1MB
cryptography-2.0-cp36-cp36m-manylinux1_i686.whl (md5, pgp) Python Wheel cp36 2017-07-17 1MB
cryptography-2.0-cp36-cp36m-manylinux1_x86_64.whl (md5, pgp) Python Wheel cp36 2017-07-17 1MB
cryptography-2.0-cp36-cp36m-win32.whl (md5, pgp) Python Wheel cp36 2017-07-17 1MB
cryptography-2.0-cp36-cp36m-win_amd64.whl (md5, pgp) Python Wheel cp36 2017-07-17 1MB
cryptography-2.0.tar.gz (md5, pgp) Source 2017-07-17 422KB