Skip to main content

PyCryptodome

PyCryptodome is a self-contained Python package of low-level cryptographic primitives.

It supports Python 2.4 or newer, all Python 3 versions 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)

  • Accelerated AES on Intel platforms via AES-NI

  • First class support for PyPy

  • Elliptic curves cryptography (NIST P-256 curve only)

  • Better and more compact API (nonce and iv attributes 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

  • Password-protected PKCS#8 key containers

  • Shamir’s Secret Sharing scheme

  • Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace)

  • Simplified install process, including better support for Windows

  • Cleaner RSA and DSA key generation (largely based on FIPS 186-4)

  • Major clean ups and simplification of the code base

PyCryptodome is not a wrapper to a separate C library like OpenSSL. To the largest possible extent, algorithms are implemented in pure Python. Only the pieces that are extremely critical to performance (e.g. block ciphers) are implemented as C extensions.

For more information, see the homepage.

All the code can be downloaded from GitHub.

Release files for pycryptodome 3.4.6

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

Source distribution (sdist)

Source distribution for pycryptodome 3.4.6
File Size Uploaded
pycryptodome-3.4.6.tar.gz 6.5 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pycryptodome 3.4.6
File
pycryptodome-3.4.6-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
pycryptodome-3.4.6-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
pycryptodome-3.4.6-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
pycryptodome-3.4.6-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
pycryptodome-3.4.6-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
pycryptodome-3.4.6-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
pycryptodome-3.4.6-cp33-cp33m-win_amd64.whl CPython 3.3 CPython 3.3 pymalloc Windows x86-64 Details
pycryptodome-3.4.6-cp33-cp33m-win32.whl CPython 3.3 CPython 3.3 pymalloc Windows x86-32 Details
pycryptodome-3.4.6-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
pycryptodome-3.4.6-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details

Total release size: 81.4 MB

Release files / pycryptodome-3.4.6.tar.gz

Download URL pycryptodome-3.4.6.tar.gz
Size 6.5 MB
Tags Source
SHA-256 checksum
How to use checksums
df1be662060cf3abdcf2086ebb401f750744106425ddebf74c57feab410e4923
BLAKE2b-256 checksum
How to use checksums
b7fb5ea74c6dfe6c4937f2ca2e609155c0d97bdf00f8aa306deb25c8f547fdb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp36-cp36m-win_amd64.whl

Download URL pycryptodome-3.4.6-cp36-cp36m-win_amd64.whl
Size 7.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e225c388855b2b6b21ca9af7e995eb93fb560c6aeefc132181227515224433d4
BLAKE2b-256 checksum
How to use checksums
d78278766101e8d13d699f2059ab51f506d7ef0fb8e5e0e25b833ff2106cb40a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp36-cp36m-win32.whl

Download URL pycryptodome-3.4.6-cp36-cp36m-win32.whl
Size 7.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
bbec659a7997bfbc8a8dfbdb669edd31ec68f5c4bdd3b75744fe89b1285f46e0
BLAKE2b-256 checksum
How to use checksums
15d448db4567e2e6b381cd1b0aebd1ebc2aadab8cad3702c964d5e6bcfad76c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp35-cp35m-win_amd64.whl

Download URL pycryptodome-3.4.6-cp35-cp35m-win_amd64.whl
Size 7.6 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
07a5c3a0112681eaed56c179ab55dba1998c13a83a3eb3bbb715b4dafd181151
BLAKE2b-256 checksum
How to use checksums
19678c248c622662b5dd60469319d7f268824a6b2d283f877e629dd2293dd3aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp35-cp35m-win32.whl

Download URL pycryptodome-3.4.6-cp35-cp35m-win32.whl
Size 7.5 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
03ed76c10948f8aff074fbeda8d49926ed58bdf45a0a99536d2c62caf21559f3
BLAKE2b-256 checksum
How to use checksums
cb8e958a25123ecca3b6239a28a474d279aac5076b130f1517e713e67d61cc26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp34-cp34m-win_amd64.whl

Download URL pycryptodome-3.4.6-cp34-cp34m-win_amd64.whl
Size 7.5 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
3942292ba9576e9609e3d68b82f16de8f1ab31346df9b9f146c32e23dd17e234
BLAKE2b-256 checksum
How to use checksums
d7667fc352704ae98453be4b45e3776b617bf56c54c9309b12d82c5a9e42cfaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp34-cp34m-win32.whl

Download URL pycryptodome-3.4.6-cp34-cp34m-win32.whl
Size 7.5 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
78f67dee479cdebd87745bf9399f2a2b883eb43e09a54a5ca3889c445b3b975a
BLAKE2b-256 checksum
How to use checksums
92847fe66f0c59ffa528348bb251061ce0f8c3e7a6fe093719543a98bf1ee6b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp33-cp33m-win_amd64.whl

Download URL pycryptodome-3.4.6-cp33-cp33m-win_amd64.whl
Size 7.5 MB
Tags CPython 3.3 CPython 3.3 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
966cabf5da7d1943a52d37df84f2885a2699b5bfe1203d9f12ba871aa965eabc
BLAKE2b-256 checksum
How to use checksums
36a302291a93c6c10d2554bad6c05e9e7a88dd5edbfe0d4242194ebd9bde3867
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp33-cp33m-win32.whl

Download URL pycryptodome-3.4.6-cp33-cp33m-win32.whl
Size 7.5 MB
Tags CPython 3.3 CPython 3.3 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1f76f89292c2825182c7b89b0ea8b6937b0c712a59e4f1502d438df2802077cc
BLAKE2b-256 checksum
How to use checksums
8d7578a81993be2cce3c5f8acfaff45d2533a18799ed8a5f61b2a35b120f0233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp27-cp27m-win_amd64.whl

Download URL pycryptodome-3.4.6-cp27-cp27m-win_amd64.whl
Size 7.5 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f9da6fa2364e261b5fb1cace99d1311990ac7c278a5227cd2e0ea46015f9ecd1
BLAKE2b-256 checksum
How to use checksums
c00fdb216abe73faeac54b75134ce518f29365fe15c9a8fc5c4d70572ed22088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pycryptodome-3.4.6-cp27-cp27m-win32.whl

Download URL pycryptodome-3.4.6-cp27-cp27m-win32.whl
Size 7.4 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
dfb3bf662c039cb4bae9fb1e8dcac57bc42db0a655375ad6e61f87ecc1c52b8a
BLAKE2b-256 checksum
How to use checksums
0d2349b904b3f5ca72acf008ab1bd3626667317f76121ae5fd2281e5ebd87be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

3.17

33 release files

3.9.8

35 release files

3.9.7

30 release files

3.9.4

32 release files

3.9.3

32 release files

3.9.2

32 release files

3.9.0

28 release files

3.8.2

28 release files

3.8.0

28 release files

3.7.3

28 release files

3.7.2

28 release files

3.7.1

28 release files

3.7.0

28 release files

3.6.6

30 release files

3.6.5

30 release files

3.6.4

30 release files

3.6.3

27 release files

3.6.1

27 release files

3.4.8

23 release files

3.4.7

11 release files

This release

3.4.6 This release

11 release files

3.4.3

11 release files

3.4

9 release files

3.3.1

9 release files

3.3

9 release files

3.2.1

9 release files

3.2

1 release file

3.1

3 release files

3.0

3 release files

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