Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
pycryptodome — Self-contained cryptographic library for Python, classical and post-quantum | Kitploit
Tools/GitHubGitHub/legrandin/pycryptodome
Encryption/Decryption ToolsHash AnalysisCryptographyAuthenticationTop in Cryptography #11Top in Encryption/Decryption Tools #11Top in Hash Analysis #11
GitHublegrandin/pycryptodome

pycryptodome

3.3k59064Dec 1, 2026Reviewed by Kitploit
Share

Self-contained cryptographic library for Python, classical and post-quantum

View RepositoryWebsite

.. image:: https://github.com/Legrandin/pycryptodome/workflows/Integration%20test/badge.svg :target: https://github.com/Legrandin/pycryptodome/actions

.. image:: https://badge.fury.io/py/pycryptodome.svg :target: https://pypi.org/project/pycryptodome

PyCryptodome

PyCryptodome is a self-contained Python package of low-level cryptographic primitives: one pip install, no system libraries, and a broad, consistent API from AES and RSA to HPKE, KangarooTwelve and post-quantum ML-DSA and SLH-DSA.

Post-quantum: ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) signatures, and, in HPKE (RFC 9180), ML-KEM (FIPS 203) and the hybrid X-Wing, as in the draft draft-ietf-hpke-pq.

It supports Python 3.9 and newer, and PyPy.

You install it with::

pip install pycryptodome

All modules are installed under the Crypto package.

.. code-block:: python

from Crypto.Cipher import AES
from Crypto.Random import get_random_bytes

key = get_random_bytes(32)
cipher = AES.new(key, AES.MODE_GCM)         # a random nonce is generated
ciphertext, tag = cipher.encrypt_and_digest(b"attack at dawn")

receiver = AES.new(key, AES.MODE_GCM, nonce=cipher.nonce)
plaintext = receiver.decrypt_and_verify(ciphertext, tag)  # raises ValueError if tampered

.. note:: Up to version 3.x, the library was also released as the pycryptodomex project, installed under the Cryptodome package. Starting with version 4.0, pycryptodomex is no longer released and Crypto is the only package name. To migrate, replace Cryptodome with Crypto in your imports.

Why PyCryptodome

  • Self-contained. No runtime dependencies and no system libraries: all the C code ships with the package, so there is nothing else to install, patch, or keep in sync. Building from source only needs a C compiler. Binary wheels are available for Linux, macOS and Windows, on x86 and ARM, for CPython and PyPy.
  • Broad. Mainstream and specialized algorithms behind one consistent API, including many that are hard to find elsewhere in Python: SIV and OCB modes, AES key wrap (KW, KWP), HPKE, KMAC, TupleHash, TurboSHAKE, KangarooTwelve, Ed448 and X448, AEGIS, ML-DSA, ML-KEM, SLH-DSA, and Shamir's secret sharing.
  • Easy to use correctly. Authenticated encryption and verification are a single call, nonces and IVs are generated for you, randomness comes straight from the operating system, and keys are imported and exported in the standard formats (PEM, DER, PKCS#8, OpenSSH).
  • Side-channel aware. The big integer arithmetic on private keys runs in constant time, in C. RSA decryption is blinded, and elliptic curve scalar multiplications are blinded and use randomized coordinates.
  • Fast where it counts. AES-NI, CLMUL, the SHA extensions, AVX2 and BMI2/ADX on x86, and the ARMv8 Cryptography Extensions on ARM, are used when the CPU has them, selected at runtime: the same wheel runs everywhere, at full speed on recent hardware. On 64-bit ARM, NEON is always used.
  • Well tested. Checked against the NIST and Wycheproof test vectors, on Linux, macOS and Windows, x86 and ARM, CPython and PyPy.
  • Permissive license. BSD 2-Clause, and public domain for the oldest code.

For the full list of algorithms and formats, see the features page. For everything else, see the homepage.

For security issues, please send an email to [email protected].

All the code can be downloaded from GitHub_.

.. _homepage: https://www.pycryptodome.org .. _features page: https://www.pycryptodome.org/src/features .. _GitHub: https://github.com/Legrandin/pycryptodome

Download Tool

Related Tools

  • age

    A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

  • sops

    Simple and flexible tool for managing secrets

  • openssl

    General purpose TLS and crypto library

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    836
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    450
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    396
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    348
  • 6

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    346

Explore all tools

Browse our collection of tools

View all tools →