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.6-2.7, Python 3.3+, and PyPy.

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.

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.

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

Uploaded Source

Built Distributions

cryptography-1.0.2-pp27-none-macosx_10_10_x86_64.whl (1.2 MB view details)

Uploaded PyPy macOS 10.10+ x86-64

cryptography-1.0.2-cp35-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5 Windows x86-64

cryptography-1.0.2-cp35-none-win32.whl (873.8 kB view details)

Uploaded CPython 3.5 Windows x86

cryptography-1.0.2-cp35-cp35m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.5m macOS 10.10+ x86-64

cryptography-1.0.2-cp34-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.4 Windows x86-64

cryptography-1.0.2-cp34-none-win32.whl (869.5 kB view details)

Uploaded CPython 3.4 Windows x86

cryptography-1.0.2-cp34-cp34m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.4m macOS 10.10+ x86-64

cryptography-1.0.2-cp33-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.3 Windows x86-64

cryptography-1.0.2-cp33-none-win32.whl (869.5 kB view details)

Uploaded CPython 3.3 Windows x86

cryptography-1.0.2-cp33-cp33m-macosx_10_10_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.3m macOS 10.10+ x86-64

cryptography-1.0.2-cp27-none-win_amd64.whl (1.2 MB view details)

Uploaded CPython 2.7 Windows x86-64

cryptography-1.0.2-cp27-none-win32.whl (869.8 kB view details)

Uploaded CPython 2.7 Windows x86

cryptography-1.0.2-cp27-none-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.7 macOS 10.10+ intel

cryptography-1.0.2-cp26-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.6 Windows x86-64

cryptography-1.0.2-cp26-none-win32.whl (870.6 kB view details)

Uploaded CPython 2.6 Windows x86

cryptography-1.0.2-cp26-none-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.6 macOS 10.10+ intel

File details

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

File metadata

File hashes

Hashes for cryptography-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d64cd491e91ddf642c643bea16532c2a2da2da054cca6df756edadd55a8bacca
MD5 6a8627da0c6199fca941dc8170f9b583
BLAKE2b-256 20a3a87ce877a66487ea3a09de15de2d23aa4d770087a8723f7aa4c05a8f73cb

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-pp27-none-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-pp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 488adb9bcc52dbf505b03a39137315ae1f99d0c5eb59eb2951a8928772996e1d
MD5 384fbf3da557d3e10fa2579166030b02
BLAKE2b-256 2d0122fa51474a96d3faa0274dbf11070592dd85fd86dcce1a31b9dccfbbba0f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 2c802ec5b33475a9158bdff7fe24eb4990fbb035ce4ffcc0c541ef067421e053
MD5 3b61f880f192c12bb8108d6ab79db523
BLAKE2b-256 c46341714cf08d07fd400b52157dfe66705d0a8f7b5c521a4f0a3d37918cef75

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp35-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp35-none-win32.whl
Algorithm Hash digest
SHA256 3d908dd4dbea80e9291b66a88197c39236aec7e07b6934b89674cb36ffa2d21f
MD5 9c5e66c628d6b7b0f1708c43ad3b163a
BLAKE2b-256 21431fffa76cac34a92bc4ca31b30ac03b7ce6f1f0fa1429626c210f195a4853

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp35-cp35m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3dc071f9c11f8d7fb8eb45c2711b6c55e988bb25b77e365f8cdeda60e3791bc8
MD5 140161eb69e49e7f20199a6a5af6d7c4
BLAKE2b-256 d38e295d452ddf69404f002839a90aa7e7358107c4c40b1d153857afe3252d3d

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 d1b10ce48d1519f2ee14a829eced7a13190be2c1af777fa5faa107799360db74
MD5 83ae7c36cc887c9d0398041bb6414efc
BLAKE2b-256 0d7416f0cc2587c709a66e03f618012175bfaca5cd44c9f81c0a48d43b52a79f

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp34-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp34-none-win32.whl
Algorithm Hash digest
SHA256 898e9378dd484761891c107869863a74d8f0f93c1315391b1ca7d37a8ed72324
MD5 f31b72498a3e9a43f07edd8c3d45b88b
BLAKE2b-256 b0b315a34e8059f1c63b23f5674e0fc90a2b93253ccfcbcaabf626eed848a2b1

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp34-cp34m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 f1fb17d1604447d8200b4f5cbf79b33da0f19f6987ec8b3f38849efd64c9045b
MD5 c56f369c820d6479f6602a63bc091346
BLAKE2b-256 7f843516337d8a7340b92a9b6dc6fc1285bc2fcb232a744c8c1553da2196a2ac

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 ac6efc700ee9153031f07fe8da6dfc679db7c3affb3b8d51710d53f3ce261caa
MD5 f1c8446e533ac5ba6feae013b42199c9
BLAKE2b-256 5466b50928652f3a9bdf649a6b79841e81c9b5a13460f14287d95d83a0503d36

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp33-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp33-none-win32.whl
Algorithm Hash digest
SHA256 460c2f87b4ca6e5def21613cf2ec5268ff305545a8fc51e5485d4e6193b58661
MD5 ff5f977d22cfed2007eceeb76dbfe666
BLAKE2b-256 b84beab289114118cba3eb08f85ef4683f512d1cc9839632e8e0b13cbd70516e

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp33-cp33m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 0bc7a2519bf1fd91d09dbf28e101a2cd2d12a6d25392ef2976756317c5f43b5e
MD5 44c5018c0b7882853795bba6690d0dd9
BLAKE2b-256 87959d57d310539680226220b69de45d998d980c046ce428bd1ad97c8432c2cb

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 7fc60fa84c0532d9b189311e090ff27456cd39c9d74ca4ea81eab64f54390113
MD5 d5da1660682f26c1f352ee35fcbf8a26
BLAKE2b-256 731e7ede1a79bd01bd074f1e387a857a3bae48b8e0bb0dde1745f07253232134

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp27-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 e219a3c4904c40c6a6d09bfe190d9989e455669e1205ee4e2dbbec947d969e83
MD5 03f22765ff512c369fe650fc500c5591
BLAKE2b-256 d24688520b98fc58380a5ce9bae2f719c73438040a27e75b9c67a737735f6215

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp27-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 b4b22f4e2ea2bbc21575f0e6340b6bb8dfaa2fecf43c8b41fe30446b3fd5f9c8
MD5 8cf9c8f9af19ea2597ec8129b5fdbce4
BLAKE2b-256 b3fff56f7a8f1f17ea9d507d68651c36d3202b909064ec1cdb5027510854948a

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp26-none-win_amd64.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 b0832112b6c8d9ed6ea772be8abfe07eec6a5dbc8a5720443b81a62e964dea39
MD5 4e90adfe86d20e010512f89625cf1039
BLAKE2b-256 03b29e02414cde4dd8cea28c9ba70b6df0821ccb4e075e25b1e3a17d1bc97dff

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp26-none-win32.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp26-none-win32.whl
Algorithm Hash digest
SHA256 ea8ac63be70578b17b4406dc95c990298842cc4771da0821878e5e5662d54001
MD5 5cf000ad1c60cb668988f937a493a83f
BLAKE2b-256 9f1d5709f625d6b685164b088e2a54c43f8940f1378a64655a62063acdf82320

See more details on using hashes here.

Provenance

File details

Details for the file cryptography-1.0.2-cp26-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.0.2-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 fac01ff1e60d910c069e3ad3d9b9dad44f37eab25e46165e1ae5631bef991ed1
MD5 173784e6c41b15b75d2f5fc4842e04ea
BLAKE2b-256 79dc33a2c4fd74859b525bc40edf5b97f5c55832e72c787bfdded6a1334ab7bd

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