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://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


Release history Release notifications | RSS feed

This version

2.4

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

Uploaded Source

Built Distributions

cryptography-2.4-cp37-cp37m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7m Windows x86-64

cryptography-2.4-cp37-cp37m-win32.whl (1.1 MB view details)

Uploaded CPython 3.7m Windows x86

cryptography-2.4-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

cryptography-2.4-cp36-cp36m-win32.whl (1.1 MB view details)

Uploaded CPython 3.6m Windows x86

cryptography-2.4-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5m Windows x86-64

cryptography-2.4-cp35-cp35m-win32.whl (1.1 MB view details)

Uploaded CPython 3.5m Windows x86

cryptography-2.4-cp34-cp34m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4m Windows x86-64

cryptography-2.4-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86

cryptography-2.4-cp34-abi3-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 3.4+ macOS 10.6+ intel

cryptography-2.4-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7m Windows x86-64

cryptography-2.4-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86

cryptography-2.4-cp27-cp27m-macosx_10_6_intel.whl (1.5 MB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: cryptography-2.4.tar.gz
  • Upload date:
  • Size: 468.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4.tar.gz
Algorithm Hash digest
SHA256 13c1841f784df9acdcdd0c91d98146a0c8895d10df6b313ab3fb90a434489426
MD5 e2f13715647e5b28371e34d767e72a9b
BLAKE2b-256 3a9bd6e97a3e9d9750aed71f024cd498653dbcf60f012b207f9243405f20540d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f094c670cf13068ae0c7cfca6e03081a9d07820bd1978a6377d9dd80c6a3855f
MD5 efc6908ab8abfda6e9ef570082aec915
BLAKE2b-256 77a64cb32946922f37e6bebb30ea3db9f7f2baae1386a60bdabec6c977946d12

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 f502892c67783b1f792b586e61955628267bb8c5ae0ac61f99d8b5e121a5e820
MD5 1c93c8af6f1d440b58528a86c227cd68
BLAKE2b-256 ab7239066c981fe67dfec3e039c4b5a9cfed212c3463c4e08590ddcbae5593e3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 934fd3191af7737cd70557ba4b5e448b9296cbaa0bc3a47fbb604b3480b5b2fd
MD5 bd17e77a348929c79a10a760d652a100
BLAKE2b-256 80933915de515ab5eecf5b9371ce01752570f35bf08267790a8862ce039825ff

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 e9a58bdc70f37c9a4ef6a72c706f9a3acb907588e393f79b50ff97fd87d15fb4
MD5 d17dab44b1048918efdcb1de24bbb716
BLAKE2b-256 5ac6ccfec7ec610ae8e6e34d8c25ea85feda8dd931e78880dc5a1ba787b0c9d8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 0bc71ce86452c22735e5d101910ac11e34f6e3e908ca644b23ea982ad747210e
MD5 946d714832c9c41f8af21e952d7db4c3
BLAKE2b-256 c6f2743346daa48cd31b787d90a6bc474e4012df61245dc74f3c0e97a4b8f951

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 bf29ec18833c339de17137a90e8fa36496afcd7d9764777b3d1018ddb054eff8
MD5 7cb28731ecbbe4284484ee4543208b7e
BLAKE2b-256 f776a0853d107a23807b1146d548602d1b4d5c7b67bd05b41fe0da21887a992e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.4-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: cryptography-2.4-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 ed328ff9f2dbfbd48aef22f17eec9908dfb2e67a9549ee8a74da3ff851160b0c
MD5 0ca16def7f74ebc1d907e7cb4da66ae7
BLAKE2b-256 a03aa26214cb01acd846545a19ef626648ac2cde833771b6d1bd3cac8b9edfac

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.4-cp34-cp34m-win32.whl.

File metadata

  • Download URL: cryptography-2.4-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 ab40540accb203abfc9042d4358781e6d406616110da0ac5dc0df47c15b0ac79
MD5 26fcbfec0b1492f02deff30c39725134
BLAKE2b-256 8047d62e81da436be1c7a4a7338406ba9ebf7f58a6a4d3968118faa5b5a6e5c1

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.4-cp34-abi3-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptography-2.4-cp34-abi3-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.4+, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp34-abi3-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 4b4073903472a2aac448288483bfb8476a0102e8c8d287d6caf63bae1fdb1ef2
MD5 b5c5cd8be8e0b58d1e19b02aba95df70
BLAKE2b-256 fa5271bfc482a6760f3d4efb14daf8fb692d7e5a860d5e677b739256e36edc09

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 f52e1d74a7139e53699a88a8796bcc594ad6e1d63dd462445350d487eee09cd3
MD5 2a6e6e29432066838284c24f35446cc9
BLAKE2b-256 0cd9f2a9c3fb77fc28efbee771b8ee124656e012199797beeab101db41748565

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cryptography-2.4-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 eeaf1a9c44f56b2386bc0e13142a45d880ccd008477a8265c38a5ac13e3f15e7
MD5 5d38a0d2566977ad6b136f1fd27b61e5
BLAKE2b-256 134d28f713ac316fc3f3ba48293ffde106791ad7200449459e4ba88d17e9804d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-2.4-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptography-2.4-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 2.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for cryptography-2.4-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b459816cd403927e8174a4d6fb8d04bd09dd161ce3b2420fb1660dab2ff9e117
MD5 80d22dfd8d0d30c0c3f23a4b7c0273ef
BLAKE2b-256 926571d3315370b688172de157262ccf6526b4774223eec2c3cea2a6eba196e2

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