Skip to main content

Cryptography

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.

Metadata

Release files for cryptography 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptography 1.5.1
File Size Uploaded Provenance Actions
cryptography-1.5.1.tar.gz 400.7 kB Without provenance Details for cryptography-1.5.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for cryptography 1.5.1
File Actions
cryptography-1.5.1-pp226-pp226u-macosx_10_10_x86_64.whl PyPy 2.26 PyPy 2.26 macOS 10.10+ x86-64 Details for cryptography-1.5.1-pp226-pp226u-macosx_10_10_x86_64.whl
cryptography-1.5.1-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details for cryptography-1.5.1-cp35-cp35m-win_amd64.whl
cryptography-1.5.1-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details for cryptography-1.5.1-cp35-cp35m-win32.whl
cryptography-1.5.1-cp35-cp35m-macosx_10_10_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.10+ x86-64 Details for cryptography-1.5.1-cp35-cp35m-macosx_10_10_x86_64.whl
cryptography-1.5.1-cp35-cp35m-macosx_10_6_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) Details for cryptography-1.5.1-cp35-cp35m-macosx_10_6_intel.whl
cryptography-1.5.1-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details for cryptography-1.5.1-cp34-cp34m-win_amd64.whl
cryptography-1.5.1-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details for cryptography-1.5.1-cp34-cp34m-win32.whl
cryptography-1.5.1-cp34-cp34m-macosx_10_10_x86_64.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.10+ x86-64 Details for cryptography-1.5.1-cp34-cp34m-macosx_10_10_x86_64.whl
cryptography-1.5.1-cp34-cp34m-macosx_10_6_intel.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386) Details for cryptography-1.5.1-cp34-cp34m-macosx_10_6_intel.whl
cryptography-1.5.1-cp33-cp33m-win_amd64.whl CPython 3.3 CPython 3.3 pymalloc Windows x86-64 Details for cryptography-1.5.1-cp33-cp33m-win_amd64.whl
cryptography-1.5.1-cp33-cp33m-win32.whl CPython 3.3 CPython 3.3 pymalloc Windows x86-32 Details for cryptography-1.5.1-cp33-cp33m-win32.whl
cryptography-1.5.1-cp33-cp33m-macosx_10_10_x86_64.whl CPython 3.3 CPython 3.3 pymalloc macOS 10.10+ x86-64 Details for cryptography-1.5.1-cp33-cp33m-macosx_10_10_x86_64.whl
cryptography-1.5.1-cp33-cp33m-macosx_10_6_intel.whl CPython 3.3 CPython 3.3 pymalloc macOS 10.6+ Intel (x86-64, i386) Details for cryptography-1.5.1-cp33-cp33m-macosx_10_6_intel.whl
cryptography-1.5.1-cp27-cp27mu-macosx_10_10_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode macOS 10.10+ x86-64 Details for cryptography-1.5.1-cp27-cp27mu-macosx_10_10_x86_64.whl
cryptography-1.5.1-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details for cryptography-1.5.1-cp27-cp27m-win_amd64.whl
cryptography-1.5.1-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details for cryptography-1.5.1-cp27-cp27m-win32.whl
cryptography-1.5.1-cp27-cp27m-macosx_10_10_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.10+ Intel (x86-64, i386) Details for cryptography-1.5.1-cp27-cp27m-macosx_10_10_intel.whl
cryptography-1.5.1-cp27-cp27m-macosx_10_6_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) Details for cryptography-1.5.1-cp27-cp27m-macosx_10_6_intel.whl
cryptography-1.5.1-cp26-cp26m-win_amd64.whl CPython 2.6 CPython 2.6 pymalloc Windows x86-64 Details for cryptography-1.5.1-cp26-cp26m-win_amd64.whl
cryptography-1.5.1-cp26-cp26m-win32.whl CPython 2.6 CPython 2.6 pymalloc Windows x86-32 Details for cryptography-1.5.1-cp26-cp26m-win32.whl
cryptography-1.5.1-cp26-cp26m-macosx_10_10_intel.whl CPython 2.6 CPython 2.6 pymalloc macOS 10.10+ Intel (x86-64, i386) Details for cryptography-1.5.1-cp26-cp26m-macosx_10_10_intel.whl

Total release size: 28.3 MB

Release files / cryptography-1.5.1.tar.gz

Download URL cryptography-1.5.1.tar.gz
Size 400.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ad0ced02cc2edefba38090847e3b73752a59d9ce2c147f71233594be3a520db5
BLAKE2b-256 checksum
How to use checksums
21e137fc14f9d77924e84ba0dcb88eb8352db914583af229287c6c965d66ba0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-pp226-pp226u-macosx_10_10_x86_64.whl

Download URL cryptography-1.5.1-pp226-pp226u-macosx_10_10_x86_64.whl
Size 1.2 MB
Tags PyPy 2.26 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
58b3c3f9c84dd868a07717f255eb15dff85e5eec0435dc129662066aa6231a1a
BLAKE2b-256 checksum
How to use checksums
b34eaacd1daf9276f464c02843ef55fae78dada785da7ddcd8dc18b39cceb517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp35-cp35m-win_amd64.whl

Download URL cryptography-1.5.1-cp35-cp35m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8a44d0807158d6e3ed96d9ca388e561c9ad346a6754bbdb310770bc8e936e937
BLAKE2b-256 checksum
How to use checksums
682f49ba27803abf52711c877db0a59609a305f1322940f51a456f245dfdcc1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp35-cp35m-win32.whl

Download URL cryptography-1.5.1-cp35-cp35m-win32.whl
Size 892.0 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
49da078ee5031b2732b428dfaec3f5c376c86a5abd0151b2023c29d70882cf18
BLAKE2b-256 checksum
How to use checksums
8d1a7f80ab2a740d0f5381ae5096c30182b226479a795f3db798a8584e85a6bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp35-cp35m-macosx_10_10_x86_64.whl

Download URL cryptography-1.5.1-cp35-cp35m-macosx_10_10_x86_64.whl
Size 1.4 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
43948c19cd777a9990694dd72cae88b0e4f5d6e8c9734d6ec6f452ea987f56a0
BLAKE2b-256 checksum
How to use checksums
de05738db3316bb8639eabbd79f2193aa30f813d98f080cd326ca306083af8c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp35-cp35m-macosx_10_6_intel.whl

Download URL cryptography-1.5.1-cp35-cp35m-macosx_10_6_intel.whl
Size 1.4 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
c8499c6e000717f6b816bfe739e62fc5ead59ff633d872bf5b33e86f99c2f5d3
BLAKE2b-256 checksum
How to use checksums
6a393853069a4351488bd561d40855c8ada0b7cd5ceb1cd95aaca75a2aeab899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp34-cp34m-win_amd64.whl

Download URL cryptography-1.5.1-cp34-cp34m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a0018f0f336d3f5a71b724acc2c364942541890638619ba8f659923b1e7be708
BLAKE2b-256 checksum
How to use checksums
e59db9c903936695b805bd593a02b0656e03f406d565f253de6bf3478c913f5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp34-cp34m-win32.whl

Download URL cryptography-1.5.1-cp34-cp34m-win32.whl
Size 890.8 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
9f021da893ee92a485132d6fad15607ba954316ed7a3c9fa6faf1ed865fa48dd
BLAKE2b-256 checksum
How to use checksums
003fbeb552ac49e16f8859ad8698d9cd9232131a0d41ad380760cd3d5363dea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp34-cp34m-macosx_10_10_x86_64.whl

Download URL cryptography-1.5.1-cp34-cp34m-macosx_10_10_x86_64.whl
Size 1.4 MB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
218a09c9386718a7beab32ae79640cd655bef383ba00754ab4d6f5c53bb164c3
BLAKE2b-256 checksum
How to use checksums
6df77d9102ba164642cace0ecaffda5ef7d32530b5e981c3b945629c1c70c809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp34-cp34m-macosx_10_6_intel.whl

Download URL cryptography-1.5.1-cp34-cp34m-macosx_10_6_intel.whl
Size 1.4 MB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
186657aeddaf62c3ceb07cf3dd05c615716da2bab85ffa92f2da5513df989fa7
BLAKE2b-256 checksum
How to use checksums
faf0c99310cac5460910f0aaf6fd12e57d3c586aea9484065a5f548d2e7624f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp33-cp33m-win_amd64.whl

Download URL cryptography-1.5.1-cp33-cp33m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.3 CPython 3.3 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
7d5f0805290bdc28e98fc5374b4ce28411a2bdcd3e8bedca02766d71e6a81515
BLAKE2b-256 checksum
How to use checksums
0a669651536d331e2bd87ca4f972e8cc7f0824f37ab367625be3bdbabd36a055
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp33-cp33m-win32.whl

Download URL cryptography-1.5.1-cp33-cp33m-win32.whl
Size 890.8 kB
Tags CPython 3.3 CPython 3.3 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
89c4767bd1c308b195e8cf6d2e56c117d3690581dc07c4b752ef5b94a9abc51c
BLAKE2b-256 checksum
How to use checksums
a6b45ba8d3347d0e4cedda5716483ebd6991e6675bc47c34bcee4992674dd8f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp33-cp33m-macosx_10_10_x86_64.whl

Download URL cryptography-1.5.1-cp33-cp33m-macosx_10_10_x86_64.whl
Size 1.4 MB
Tags CPython 3.3 CPython 3.3 pymalloc macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
0a86061d2ddc37f00fead30cee88c82ec3c6173efc2546f019ea035ec89f4cc2
BLAKE2b-256 checksum
How to use checksums
27b65c9068c0cebed6fbfde547f1b776c849d36632ca51f8f6fbd300240c14e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp33-cp33m-macosx_10_6_intel.whl

Download URL cryptography-1.5.1-cp33-cp33m-macosx_10_6_intel.whl
Size 1.4 MB
Tags CPython 3.3 CPython 3.3 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
81065706049f138174d7fc48142487389cce7755d3e7278590e44d9c84d3757d
BLAKE2b-256 checksum
How to use checksums
41e5c724328c93009c38370fe377657fd5844f326d6db34c194aca7f9d9df102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp27-cp27mu-macosx_10_10_x86_64.whl

Download URL cryptography-1.5.1-cp27-cp27mu-macosx_10_10_x86_64.whl
Size 1.4 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
de14be849208077f8c88f7973b516bf11288f75d15f194b558f1ee6c8e1c56e9
BLAKE2b-256 checksum
How to use checksums
c3191bdc049c9e3bcea5fdc52765c615217078588e6aa6e122367593ebae7ad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp27-cp27m-win_amd64.whl

Download URL cryptography-1.5.1-cp27-cp27m-win_amd64.whl
Size 1.3 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c1205fb3950b114990687009e43380ade9aed0ed329f7b8175aafc174da02fc1
BLAKE2b-256 checksum
How to use checksums
0cf5950dbbd214849b36b4c6dfffbc4a7dc00ad192036bc7342cced682477f70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp27-cp27m-win32.whl

Download URL cryptography-1.5.1-cp27-cp27m-win32.whl
Size 890.9 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
8b331a254a8805ab98bb869f2c8c573663fb8d56bc4972c0aabd38c0c7a0a849
BLAKE2b-256 checksum
How to use checksums
9b95cf0f9beb86aedb2690d7dd98d7a1e3ea5b7a4093506c88b994487347ac3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp27-cp27m-macosx_10_10_intel.whl

Download URL cryptography-1.5.1-cp27-cp27m-macosx_10_10_intel.whl
Size 2.4 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.10+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
36d41377991429e4ab1b55fb502c3a5a3b10b9ce1a751b7db090d8604eb3deca
BLAKE2b-256 checksum
How to use checksums
fd6d3c820ec7f6e6fa34b228760dc7d47f3a4cff2e75b072d8e6f82e10a020ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp27-cp27m-macosx_10_6_intel.whl

Download URL cryptography-1.5.1-cp27-cp27m-macosx_10_6_intel.whl
Size 1.4 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
92f682ad2f8baf81cab582cf803c2de4f515a3adab3183171556af8ed25d4e4e
BLAKE2b-256 checksum
How to use checksums
73d35fce8b21463ef15f4fac549b5344b6384bc720ca67eb1c097bffe9840cc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp26-cp26m-win_amd64.whl

Download URL cryptography-1.5.1-cp26-cp26m-win_amd64.whl
Size 1.3 MB
Tags CPython 2.6 CPython 2.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b5a1167b4e94378a4697266baeb198e0b18545b554e8ce76a429eea981a3fffe
BLAKE2b-256 checksum
How to use checksums
a792c6f25fd2542c2ebd3abeb0be0f402f43b14b0569fbed3b13c94ce97bb1bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp26-cp26m-win32.whl

Download URL cryptography-1.5.1-cp26-cp26m-win32.whl
Size 891.7 kB
Tags CPython 2.6 CPython 2.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5d91cbf5e652fee83f592538110ff3ebf6d4c6d1fdd25c27d9b6867a3d62ed05
BLAKE2b-256 checksum
How to use checksums
c210e5db5ce28d34e2f791a528fbd9cfc36a54070f658faf8b5e7b44167a43ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cryptography-1.5.1-cp26-cp26m-macosx_10_10_intel.whl

Download URL cryptography-1.5.1-cp26-cp26m-macosx_10_10_intel.whl
Size 2.4 MB
Tags CPython 2.6 CPython 2.6 pymalloc macOS 10.10+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
2e85bf9499e21ad9ba90eb64496e3b78fac5430646e00dc021175e3c1fc853b3
BLAKE2b-256 checksum
How to use checksums
024f4389da64ba280a54aeaf0b83729de135012d51bbb5e93e849fd7dec89e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cryptography 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.1 This release

22 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page