pycryptodome
Cryptographic library for Python
Install
pycryptodome on PyPI
pip
pip install pycryptodomeuv
uv add pycryptodomepoetry
poetry add pycryptodomePackage facts
| License | BSD, Public Domain (permissive) |
| Python support | supports the current Python release (!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 453 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: pycryptodome-3.23.0-cp27-cp27m-macosx_10_9_x86_64.whl; pycryptodome-3.23.0-cp27-cp27m-manylinux2010_i686.whl; pycryptodome-3.23.0-cp27-cp27m-manylinux2010_x86_64.whl; pycryptodome-3.23.0-cp27-cp27mu-manylinux2010_i686.whl; pycryptodome-3.23.0-cp27-cp27mu-manylinux2010_x86_64.whl; pycryptodome-3.23.0-cp27-cp27m-win32.whl; pycryptodome-3.23.0-cp313-cp313t-macosx_10_13_universal2.whl; pycryptodome-3.23.0-cp313-cp313t-macosx_10_13_x86_64.whl; pycryptodome-3.23.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pycryptodome-3.23.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pycryptodome-3.23.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; pycryptodome-3.23.0-cp313-cp313t-musllinux_1_2_aarch64.whl; pycryptodome-3.23.0-cp313-cp313t-musllinux_1_2_i686.whl; pycryptodome-3.23.0-cp313-cp313t-musllinux_1_2_x86_64.whl; pycryptodome-3.23.0-cp313-cp313t-win32.whl; pycryptodome-3.23.0-cp313-cp313t-win_amd64.whl; pycryptodome-3.23.0-cp313-cp313t-win_arm64.whl; pycryptodome-3.23.0-cp37-abi3-macosx_10_9_universal2.whl; pycryptodome-3.23.0-cp37-abi3-macosx_10_9_x86_64.whl; pycryptodome-3.23.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
About pycryptodome
from the package's own PyPI description — quoted content, verbatim
PyCryptodome
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
It supports Python 2.7, Python 3.7 and newer, and PyPy.
You can install it with::
pip install pycryptodome
All modules are installed under the Crypto package.
Check the pycryptodomex_ project for the equivalent library that
works under the Cryptodome package.
PyCryptodome is a fork of PyCrypto. It brings several enhancements with respect to the last official version of PyCrypto (2.6.1), for instance:
- Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB, KW, KWP)
- Hybrid Public Key Encryption (HPKE)
- Accelerated AES on Intel platforms via AES-NI
- First class support for PyPy
- Elliptic curves cryptography (NIST P-curves; Ed25519, Ed448, Curve25519)
- Better and more compact API (
nonceandivattributes for ciphers, automatic generation of random nonces and IVs, simplified CTR cipher mode, and more) - SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
- Salsa20 and ChaCha20 stream ciphers
- scrypt and HKDF
- Deterministic (EC)DSA and EdDSA
- Password-protected PKCS#8 key containers
- Shamir's Secret Sharing scheme
- Random...
Read as markdown · JSON record · Source repository · Homepage
Similar packages
permissive · top 100 on PyPI
pycryptodomexpermissive · top 1,000 on PyPI
oscryptopermissive · top 1,000 on PyPI
rsapermissive · top 1,000 on PyPI
python-josepermissive · top 1,000 on PyPI
joserfcpermissive · top 1,000 on PyPI
asn1cryptopermissive · top 1,000 on PyPI
PyNaClpermissive · top 1,000 on PyPI
Authlibpermissive · top 1,000 on PyPI
google-cloud-kmspermissive · top 1,000 on PyPI