$npx skillfedfor your agent

Cryptography packages

227 packages · page 4 of 6

Packages

PyKCS11 With conditions
PyPI · Cryptography · released Aug 2025

PyKCS11 provides a Python wrapper around the PKCS#11 cryptographic interface standard, enabling Python applications to interact with hardware security modules, smart cards, and other cryptographic tokens.

copyleftcompiled wheel
330.4Kdownloads / mo
python-barbicanclient With conditions
PyPI · Cryptography · released Jul 2026

Python client library and command-line tool for interacting with OpenStack Barbican's Key Management API to store, retrieve, and manage encrypted secrets.

Apache-2.0pure Python · 3.10+
322.4Kdownloads / mo
scrypt With conditions
PyPI · Cryptography · released Aug 2025

Python bindings for the scrypt key derivation function, enabling password-based encryption and decryption with tunable time costs to resist brute-force attacks.

However, consider whether argon2 or PBKDF2 alternatives better suit your threat model—scrypt's time-cost model is effective but less commonly recommended for new…

permissive licensecompiled wheelaging
314.2Kdownloads / mo
bip-utils Worth it
PyPI · Cryptography · released Aug 2026

Generates mnemonics, seeds, private/public keys, and addresses for multiple cryptocurrencies using BIP and SLIP standards, supporting Bitcoin, Ethereum, Cardano, Monero, Polkadot, Solana, and many others.

Install it if you are building wallet software or integrating blockchain address generation into an application.

MITpure Python · 3.7+
313.6Kdownloads / mo
pyhpke With conditions
PyPI · Cryptography · released Jul 2026

PyHPKE implements HPKE (Hybrid Public Key Encryption) as defined in RFC 9180, providing authenticated encryption with public-key cryptography for sender-recipient message exchange.

However, note that it has not been formally audited—do not use it for high-security applications without independent security review.

MITpure Python
309.5Kdownloads / mo
tlslite-ng With conditions
PyPI · Cryptography · released Jan 2025

Pure Python implementation of SSL/TLS protocols (SSLv3.0, TLS 1.0–1.3) with support for modern ciphers, key exchange methods, and certificate types, optionally accelerated by external crypto libraries.

LGPL-2.0-onlypure Python
309.3Kdownloads / mo
x25519 Skip
PyPI · Cryptography · released Oct 2021

Provides pure Python implementations of curve25519 scalar multiplication operations for Elliptic Curve Diffie-Hellman key exchange and shared secret derivation.

Install only if you need pure Python for educational purposes or an environment where compiled dependencies are impossible; otherwise, use a maintained cryptographic…

permissive licensepure Pythonabandoned
302.0Kdownloads / mo
altcha Worth it
PyPI · Cryptography · released Jul 2026

Creates and verifies ALTCHA proof-of-work challenges using key derivation functions like PBKDF2, Argon2id, and scrypt to defend against automated attacks.

Install it if you need ALTCHA challenge generation and verification; the API is straightforward and the documentation includes working examples.

MITpure Python · 3.9+
296.5Kdownloads / mo
xkcdpass Worth it
PyPI · Cryptography · released Jan 2026

Generates strong, memorable passphrases by randomly selecting words from built-in or custom word lists, with options to constrain word length, add delimiters, apply case rules, and enforce acrostic patterns.

BSD-3-Clausepure Python · 3.6+aging
294.3Kdownloads / mo
xxtea With conditions
PyPI · Cryptography · released Aug 2026

xxtea is a Python extension that implements the XXTEA block cipher algorithm, providing functions to encrypt and decrypt data with a 128-bit key using a non-standard 4-byte PKCS#7 padding scheme.

However, be aware that its non-standard padding makes output incompatible with other XXTEA libraries; use only if interoperability with this specific implementation…

permissive licensecompiled wheel · 3.9+
275.8Kdownloads / mo
c2pa-python Worth it
PyPI · Cryptography · released Aug 2026

Read, validate, create, and sign C2PA manifest data in media files to establish content authenticity and provenance.

permissive licensecompiled wheel · 3.10+
274.9Kdownloads / mo
galois Worth it
PyPI · Cryptography · released May 2026

Galois extends NumPy arrays to perform arithmetic operations over finite fields (Galois fields), enabling efficient computation in GF(p^m) with a NumPy-compatible interface.

The non-constant-time implementation is explicitly documented as unsuitable for production security but appropriate for research and education, so install only if…

MITpure Python · 3.7+
269.8Kdownloads / mo
sslpsk-pmd3 With conditions
PyPI · Cryptography · released Feb 2024

Provides TLS/SSL connections using pre-shared key (PSK) authentication instead of certificates, with support for Python 3.8 through 3.12.

However, the repository is dormant (last commit February 2024); verify that security updates will be available if your use case requires active maintenance.

permissive licensecompiled wheel · 3.8+dormant
268.2Kdownloads / mo
ECPy Worth it
PyPI · Cryptography · released Oct 2020

ECPy is a pure Python elliptic curve library providing ECDSA, EdDSA (Ed25519), ECSchnorr, and Borromean signature schemes, along with elliptic curve point operations.

However, for production systems handling sensitive data, consider whether the aging maintenance (last release October 2020) and lack of recent security updates pose…

Apache-2.0pure Pythonaging
267.8Kdownloads / mo
py-bip39-bindings With conditions
PyPI · Cryptography · released Sep 2025

Provides Python bindings to the tiny-bip39 Rust library for generating, validating, and converting BIP39 mnemonics to cryptographic seeds, with support for multiple languages.

Apache-2.0compiled wheel · 3.9+
267.4Kdownloads / mo
py-ed25519-zebra-bindings With conditions
PyPI · Cryptography · released Sep 2025

Provides Python bindings to the ed25519-zebra Rust crate for Ed25519 digital signature operations—key derivation, signing, and verification.

Install it if your use case requires deterministic Ed25519 operations; skip it if you prefer pure-Python alternatives.

Apache-2.0compiled wheel · 3.9+
265.1Kdownloads / mo
M2Crypto With conditions
PyPI · Cryptography · released May 2026

M2Crypto wraps OpenSSL via SWIG to provide Python access to cryptographic primitives (RSA, DSA, AES, HMAC), TLS client/server implementation, and HTTPS extensions.

permissive licensecompiled wheel · 3.6+
264.0Kdownloads / mo
auth0-api-python Worth it
PyPI · Cryptography · released Aug 2026

Verifies Auth0-issued access tokens and secures Python APIs with Bearer and DPoP authentication schemes, automatically detecting and validating token types.

Install it if you are building a Python API that needs to validate Auth0 tokens; skip it if you use a different identity provider or do not require server-side token…

MITpure Python · 3.9.2+
248.9Kdownloads / mo
pyscrypt Skip
PyPI · Cryptography · released Feb 2015

A pure-Python implementation of the scrypt password-based key derivation function that hashes passwords and encrypts/decrypts files using the scrypt algorithm.

MITbuilds from sourceabandoned
246.7Kdownloads / mo
fernet Skip
PyPI · Cryptography · released Sep 2016

A pure Python implementation of the Fernet symmetric encryption specification, providing token-based authenticated encryption without compiled C dependencies.

No, not for new projects.

MITbuilds from sourceabandoned
240.9Kdownloads / mo
python-pkcs11 With conditions
PyPI · Cryptography · released Jul 2026

Provides a high-level Python interface to PKCS#11 (Cryptoki) for interacting with hardware security modules and smartcards, supporting symmetric encryption, asymmetric cryptography, key generation, and signing operations.

MITcompiled wheel · 3.10+
235.0Kdownloads / mo
libnacl With conditions
PyPI · Cryptography · released Aug 2023

Python bindings to libsodium's NaCl cryptography library, providing both low-level ctypes access and high-level encryption classes for authenticated encryption, signing, and key exchange.

However, the aging maintenance status (last release 2023, infrequent commits) means you should verify that libsodium availability and the package's feature set meet…

Apache-2.0pure Pythonaging
231.6Kdownloads / mo
PyKMIP With conditions
PyPI · Cryptography · released Feb 2020

PyKMIP implements the KMIP protocol for managing cryptographic keys and related objects (certificates, passwords, data blobs) with a KMIP-compliant server, supporting the full CRUD lifecycle of key management operations.

However, install it only if you need KMIP protocol support and are comfortable with dormant maintenance: verify that version 0.10.0 works with your target Python…

Apache-2.0builds from sourcedormant
229.5Kdownloads / mo
fastecdsa With conditions
PyPI · Cryptography · released Jan 2025

Provides fast elliptic curve digital signature operations (signing and verification) using NIST and Certicom curves, with no nonce reuse and constant-time point multiplication to mitigate timing attacks.

However, the author cautions against using it for security-critical applications without additional review—use an audited library like libsodium or cryptography for…

permissive licensecompiled wheel · 3.9+
225.8Kdownloads / mo
bip32 With conditions
PyPI · Cryptography · released Nov 2025

Implements BIP 32 hierarchical deterministic (HD) wallet key derivation for Bitcoin, allowing you to generate extended private and public keys from a seed or master key using standard derivation paths.

BSD-3-Clausepure Python · 3.9+aging
225.6Kdownloads / mo
sopsy With conditions
PyPI · Cryptography · released Jul 2025

SOPSy wraps the SOPS command-line tool to encrypt, decrypt, and manage secrets in YAML and JSON files from Python code.

However, be aware that the repository is archived and abandoned—use it only if you are comfortable maintaining it yourself or if your SOPS version and Python…

MITpure Python · 3.8+abandoned
223.8Kdownloads / mo
aia With conditions
PyPI · Cryptography · released Nov 2021

Builds and validates TLS certificate chains by fetching missing intermediate certificates via the AIA (Authority Information Access) extension, working around CPython issue 18617 where servers don't provide the full chain.

However, its pre-alpha status and dormant maintenance (last release 2021-11-27) mean no active support or updates; use it as a workaround, not a long-term solution.

BSD-3-Clausepure Python · 3.6+dormant
218.8Kdownloads / mo
pyDes Skip
PyPI · Cryptography · released May 2016

Pure Python implementation of DES and Triple DES encryption algorithms, supporting DES-EDE3 with a 24 byte key and DES-EDE2 with a 16 byte key.

permissive licensebuilds from sourceabandoned
218.0Kdownloads / mo
ff3 Skip
PyPI · Cryptography · released Jan 2026

Implements NIST FF3 and FF3-1 format-preserving encryption (FPE) algorithms to encrypt data while preserving its format—digits remain digits, custom alphabets remain within their alphabet.

No—not for new production systems.

Apache-2.0pure Python · 3.10+aging
217.4Kdownloads / mo
pyAesCrypt With conditions
PyPI · Cryptography · released Nov 2023

Encrypts and decrypts files and binary streams using AES256-CBC, compatible with the AES Crypt file format (version 2).

Install it if you are not expecting active security updates or bug fixes; avoid it if you require ongoing support or are encrypting data where file-size tampering is…

Apache-2.0pure Pythondormant
215.8Kdownloads / mo
python3-dtls With conditions
PyPI · Cryptography · released Nov 2020

Adds DTLS (Datagram Transport Layer Security) support to Python by extending the standard library's ssl module to work with UDP sockets, providing encryption and authentication for datagram-based communication.

However, do not use it if you require active security updates or compatibility with Python versions beyond 3.6—the last release was 2020-11-06 and the repository…

Apache-2.0pure Pythondormant
213.8Kdownloads / mo
ansible-vault With conditions
PyPI · Cryptography · released May 2025

Reads and writes Ansible vault-encrypted YAML files programmatically, allowing you to load encrypted vault data and dump data back to encrypted vault format.

However, the GPL-3.0-or-later copyleft license means you cannot use it in proprietary closed-source projects without licensing the entire work under GPL.

copyleftpure Python
204.5Kdownloads / mo
django-cryptography With conditions
PyPI · Cryptography · released Apr 2022

Wraps Python's cryptography library to add transparent field-level encryption to Django models, and provides a drop-in replacement for Django's own cryptographic primitives.

However, be aware that the last release was in April 2022; if you require support for newer Django versions or active maintenance, evaluate whether the dormant status…

BSD-3-Clausepure Python · 3.6+dormant
197.1Kdownloads / mo
pyseto Worth it
PyPI · Cryptography · released Jul 2026

PySETO implements PASETO (Platform-Agnostic SEcurity TOkens) and PASERK (Platform-Agnostic Serialized Keys) standards in Python, supporting all protocol versions (v1–v4) for both public-key signing and symmetric authenticated encryption.

Install it if you need stateless token authentication or secure key serialization and prefer a standards-based alternative to JWT or custom token schemes.

MITpure Python
195.4Kdownloads / mo
cryptg With conditions
PyPI · Cryptography · released Apr 2026

cryptg provides a native Python extension that implements AES-IGE encryption, the cipher mode used by Telegram's MTProto protocol.

permissive licensecompiled wheel · 3.11+
192.6Kdownloads / mo
truelayer-signing Worth it
PyPI · Cryptography · released Jun 2026

Produces and verifies cryptographic signatures for TrueLayer API requests and webhooks using PEM keys and JWKS.

Install it if you are integrating with TrueLayer's API and need to sign requests or verify webhooks; it is the standard tool for this task in Python.

permissive licensepure Python
191.6Kdownloads / mo
base58check With conditions
PyPI · Cryptography · released Apr 2018

Encodes and decodes byte arrays using the Base58Check scheme, a binary-to-text encoding used primarily for Bitcoin addresses and similar cryptographic identifiers.

However, note that no releases have been published since 2018, so verify that it meets your Python version requirements and handles edge cases your use case requires…

MITpure Python
183.0Kdownloads / mo
ed25519-blake2b-fork With conditions
PyPI · Cryptography · released Mar 2026

Provides Python bindings to Ed25519 digital signatures using BLAKE2b instead of SHA512, enabling signature creation and verification compatible with NANO and similar systems.

MITcompiled wheel
182.7Kdownloads / mo
luhn With conditions
PyPI · Cryptography · released Jun 2015

Generates and verifies Luhn check digits for digit strings, commonly used to validate credit card numbers and similar identifiers.

However, it is abandoned and has not been updated since 2015-06-23—install only if you are confident the Luhn algorithm implementation is correct for your use case…

permissive licensebuilds from sourceabandoned
178.4Kdownloads / mo
endesive With conditions
PyPI · Cryptography · released Jan 2026

Endesive signs and verifies digital signatures in PDF, S/MIME email, XML, and plain-text documents using cryptographic keys and certificates.

license unclearpure Python · 3.0+
177.6Kdownloads / mo