Project description
cryptography is a package which provides cryptographic recipes andprimitives to Python developers. Our goal is for it to be your “cryptographicstandard library”. It supports Python 3.6+ and PyPy3 7.2+.
cryptography includes both high level recipes and low level interfaces tocommon cryptographic algorithms such as symmetric ciphers, message digests, andkey derivation functions. For example, to encrypt something withcryptography’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.")>>> tokenb'...'>>> f.decrypt(token)b'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 #pyca on irc.libera.chat to ask questions or getinvolved.
Security
Need to report a security issue? Please consult our security reportingdocumentation.
Project details
Verified details (What is this?)
These details have been verified by PyPI
Owner
Python Cryptographic Authority
Maintainers
Unverified details
These details have not been verified by PyPI
Project links
Meta
- License: Apache Software License, BSD License ((Apache-2.0 OR BSD-3-Clause) AND PSF-2.0)
- Author: The Python Cryptographic Authority and individual contributors
- Requires: Python >=3.6
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
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-39.0.0.tar.gz (603.4 kB view hashes)
Uploaded Source
Built Distributions
cryptography-39.0.0-pp39-pypy39_pp73-win_amd64.whl (2.4 MB view hashes)
Uploaded PyPy
Windows x86-64
cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.5 MB view hashes)
Uploaded PyPy
manylinux: glibc 2.28+ x86-64
cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl (3.5 MB view hashes)
Uploaded PyPy
manylinux: glibc 2.24+ x86-64
cryptography-39.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)
Uploaded PyPy
manylinux: glibc 2.17+ x86-64
cryptography-39.0.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl (2.7 MB view hashes)
Uploaded PyPy
macOS 10.12+ x86-64
cryptography-39.0.0-pp38-pypy38_pp73-win_amd64.whl (2.4 MB view hashes)
Uploaded PyPy
Windows x86-64
cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (3.5 MB view hashes)
Uploaded PyPy
manylinux: glibc 2.28+ x86-64
cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (3.5 MB view hashes)
Uploaded PyPy
manylinux: glibc 2.24+ x86-64
cryptography-39.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)
Uploaded PyPy
manylinux: glibc 2.17+ x86-64
cryptography-39.0.0-pp38-pypy38_pp73-macosx_10_12_x86_64.whl (2.7 MB view hashes)
Uploaded PyPy
macOS 10.12+ x86-64
cryptography-39.0.0-cp36-abi3-win_amd64.whl (2.5 MB view hashes)
Uploaded CPython 3.6+
Windows x86-64
cryptography-39.0.0-cp36-abi3-win32.whl (2.1 MB view hashes)
Uploaded CPython 3.6+
Windows x86
cryptography-39.0.0-cp36-abi3-musllinux_1_1_x86_64.whl (4.3 MB view hashes)
Uploaded CPython 3.6+
musllinux: musl 1.1+ x86-64
cryptography-39.0.0-cp36-abi3-musllinux_1_1_aarch64.whl (4.1 MB view hashes)
Uploaded CPython 3.6+
musllinux: musl 1.1+ ARM64
cryptography-39.0.0-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB view hashes)
Uploaded CPython 3.6+
manylinux: glibc 2.28+ x86-64
cryptography-39.0.0-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB view hashes)
Uploaded CPython 3.6+
manylinux: glibc 2.28+ ARM64
cryptography-39.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (4.1 MB view hashes)
Uploaded CPython 3.6+
manylinux: glibc 2.24+ x86-64
cryptography-39.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view hashes)
Uploaded CPython 3.6+
manylinux: glibc 2.17+ x86-64
cryptography-39.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view hashes)
Uploaded CPython 3.6+
manylinux: glibc 2.17+ ARM64
cryptography-39.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (3.7 MB view hashes)
Uploaded CPython 3.6+
manylinux: glibc 2.17+ ARM64
manylinux: glibc 2.24+ ARM64
cryptography-39.0.0-cp36-abi3-macosx_10_12_x86_64.whl (2.9 MB view hashes)
Uploaded CPython 3.6+
macOS 10.12+ x86-64
cryptography-39.0.0-cp36-abi3-macosx_10_12_universal2.whl (5.4 MB view hashes)
Uploaded CPython 3.6+
macOS 10.12+ universal2 (ARM64, x86-64)