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 2.6+.

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

Uploaded Source

Built Distributions

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

Uploaded PyPymacOS 10.10+ x86-64

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

Uploaded CPython 3.5Windows x86-64

cryptography-1.2.2-cp35-none-win32.whl (886.5 kB view details)

Uploaded CPython 3.5Windows x86

cryptography-1.2.2-cp35-cp35m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.5mmacOS 10.10+ x86-64

cryptography-1.2.2-cp35-cp35m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.2-cp34-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4Windows x86-64

cryptography-1.2.2-cp34-none-win32.whl (881.4 kB view details)

Uploaded CPython 3.4Windows x86

cryptography-1.2.2-cp34-cp34m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.4mmacOS 10.10+ x86-64

cryptography-1.2.2-cp34-cp34m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.2-cp33-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.3Windows x86-64

cryptography-1.2.2-cp33-none-win32.whl (881.4 kB view details)

Uploaded CPython 3.3Windows x86

cryptography-1.2.2-cp33-cp33m-macosx_10_10_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.3mmacOS 10.10+ x86-64

cryptography-1.2.2-cp33-cp33m-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 3.3mmacOS 10.6+ Intel (x86-64, i386)

cryptography-1.2.2-cp27-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7Windows x86-64

cryptography-1.2.2-cp27-none-win32.whl (881.7 kB view details)

Uploaded CPython 2.7Windows x86

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

Uploaded CPython 2.7macOS 10.10+ Intel (x86-64, i386)

cryptography-1.2.2-cp27-none-macosx_10_6_intel.whl (1.4 MB view details)

Uploaded CPython 2.7macOS 10.6+ Intel (x86-64, i386)

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

Uploaded CPython 2.6Windows x86-64

cryptography-1.2.2-cp26-none-win32.whl (882.5 kB view details)

Uploaded CPython 2.6Windows x86

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

Uploaded CPython 2.6macOS 10.10+ Intel (x86-64, i386)

File details

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

File metadata

  • Download URL: cryptography-1.2.2.tar.gz
  • Upload date:
  • Size: 372.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cryptography-1.2.2.tar.gz
Algorithm Hash digest
SHA256 3f219cb9106d9b737ea9c332c4d15d70ac328f91b59fd9d79f78bdea8f826a67
MD5 2b25eebd1d3c6bae52b46f0dcec74dfb
BLAKE2b-256 69c00154624b4f3212306590ba82ecb1d10740f475d65d1f39cf9da549d911a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-pp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 c055465cba7b53fceccf9a72293f19e82e77869b608ea0318eff0378342b003f
MD5 aea6a2dcea8df238d82ea766bd16dbe5
BLAKE2b-256 17ad7412c615188e25baa462806e2aa5af5377eccf6253d8d761072cfd4b09d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 99cbcbdfdf733ef849ada2e40194c78c2d714f86573710732e2ba4eff79426e2
MD5 7e270711015a3f83e8391ba080c66d9a
BLAKE2b-256 53109535134a41683661ed74fa56c5242a231a3439ba2f8992657b5f67fee4d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp35-none-win32.whl
Algorithm Hash digest
SHA256 a89101dfa23cd636649f93cbd2509d7842d58382eba55818a3cd8e07041f30e4
MD5 6f82751d2a56bc55a550baaefafd61bd
BLAKE2b-256 0e61246a25bb20ad527b3371590f50f0b683f0e7fd89b17e571490dc7bbecc5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp35-cp35m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 8a3a7bccf51df7c97e9c8f67af0fba2b3c6215922303d0fb2b06d7300ede2673
MD5 07afaf7b5fa4a74890fcdc510d4076d9
BLAKE2b-256 be80be8c753ad3bb0bac9fd0affec362f4b2bea3219dc067b9edb851750d650b

See more details on using hashes here.

File details

Details for the file cryptography-1.2.2-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2e8c7e316165c8c6ecd94be8403c5863153f32ab1baa9e412d27426fef5b6329
MD5 a90767627400b07738d6055416f36198
BLAKE2b-256 067c1cef50a4194bdb2271184531d29f0493667c48be46fe782856177b2d3adf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 150c6c873f440a3e8cc69c9dbeed5e9b3667dc3f3d10555b6d1e884eedf5473f
MD5 87a4d530c00a80feee01fb738d440132
BLAKE2b-256 d07d0186b40c5124694000bc916496aca5af9f89bca67676b3ed6c9621eaf645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp34-none-win32.whl
Algorithm Hash digest
SHA256 6719fad1242bdadb8c419e276542341eebc330c9561f2f3dc46b0ec6c6d8c8ec
MD5 3066d7f053412bacbcbb9461498d5cc1
BLAKE2b-256 36202ff211635a5697089b010ef4a7f81583debe06de91721b8436f998047730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1c79480e625b79aa45e5bd58c8158df29024c8ee0a87038d869b5f305be6b2cf
MD5 6a79d74c5383a5133b0b2025f938f3fb
BLAKE2b-256 458ac3e8f58988fc5b8566a914b9f3d8dab45cc0f059bf3237cf01bf44662c78

See more details on using hashes here.

File details

Details for the file cryptography-1.2.2-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2501fde04d080301d7d9c331196de8015a1c612cede79ea6be836dcd836489a9
MD5 a65849a5d93e67306258c5d1a2aeab1e
BLAKE2b-256 565b243cd2c31d0e1e8871c6c3b2005c0357cd796ae31240b1f902b834afa57e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 92c447c51dc5006cd7a4d157f4c49d3114a014b0cf0c7bfd6e4ad095cce87d6f
MD5 3df79aaefffcf82329c2bda6e0d0a3a5
BLAKE2b-256 c319123b6a31df67b0f266c0f164a0fd869a06ebadfb1339504c14629d34b562

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp33-none-win32.whl
Algorithm Hash digest
SHA256 0e73d11068a0295244091f07290b2698230268ce10c8aff88219b9e96acd0cc0
MD5 42eed5af1b7250682d74a4d0f6b8f874
BLAKE2b-256 2b11a5e577616684cf2cc975be7c499ac948ddd7b220a97031a143a95dbbb46c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 3d86850a6f5f43a10e2155b0937b8a32b11cd1861bb44a08ba79e704dc63fe18
MD5 767580a551d1c786ffe1f70e402e0f26
BLAKE2b-256 9a26a7839fa8459bedd77e2fbf8b06dbd23d109e07b80c13a0451c806184414c

See more details on using hashes here.

File details

Details for the file cryptography-1.2.2-cp33-cp33m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.2-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 615a4d1118cfb3b31662025398fce2e9727f1eabb6b65ea8a10540d007c10180
MD5 c6dfd67509d49f120ea3cfdb16536237
BLAKE2b-256 1872c92a50092024f0faa170a98a5c515dfd237b2ac31e99748d1bfaf34cb562

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 91a6fc8aeb09e6695de1a8ee5f0111eb80f60d12d67a77726c674c243c479925
MD5 28970d9bb2fc05fdbfed7a2a4a8a25cb
BLAKE2b-256 c3489f54c859beb4222982caf9d8a534ea9989ba3456b608925b0094d4025134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 f237058c8282f161d2cc7aa57e56233c7d32b66c02ac6bbe22e7b3164f6c7b9b
MD5 1550a33b88cedf92f9fedb9431c98c18
BLAKE2b-256 b174e0502348c237dc0d16628589aa08e9376d1c676aba980d9eb69f82da80d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp27-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 a80a903e3b9db3516c5db8e565e9917035bff9df9394c1d264dd621e07fe6e8d
MD5 d364bd0eac686f81245f412f5c9fc9d9
BLAKE2b-256 faaeeb8e5650e092dd29b2befa2a43c68262377a6977caeb3620e8ce9946ef21

See more details on using hashes here.

File details

Details for the file cryptography-1.2.2-cp27-none-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for cryptography-1.2.2-cp27-none-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e7b7b5d638172597a1d2856c1d037e268a781f338e7fc8ed1d21fc0854d33651
MD5 f09cc87095393e38bbaf084f45ee9553
BLAKE2b-256 92cea31029b727d64ed865c5c18f1f2262eb05c650b714215604f918d4a6cdaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 1ab1b8e3174d2349407e5a5992d487123599d16c6757f64c227a8dd4791c88bd
MD5 73d3926e0d1314b14755fc52dd3967c4
BLAKE2b-256 47cbb851f906b6cbab1677931a537424fbbc3b9a069a9c70ea6ce30ffbd55b2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp26-none-win32.whl
Algorithm Hash digest
SHA256 f81b730d55fbfd8a087cb6134ed69e43ac764a76b49fb6992338581822f45a88
MD5 18f3f5d747da14ecfb26783989bd6d7a
BLAKE2b-256 549c678d1186e4bfb21d5f4ac913b84f7afa246657b1ee3f4b7070df3f3f573f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptography-1.2.2-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 51df710fdc57399d502eb6875e4a7635071cfea4280be8181c0343aba39c4829
MD5 e7301992bdd138735642b709d08f406f
BLAKE2b-256 c755651670f73138c2aaa189ab2a48a69e313ee4b069ed255091bc1b7f850397

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page