miscreant
Misuse-resistant authenticated symmetric encryption
What it is and what it does
Miscreant is a Python library implementing misuse-resistant authenticated encryption schemes designed to remain secure even when cryptographic nonces are accidentally reused—a common failure mode in symmetric encryption. It provides three main constructions: AES-SIV (combining AES-CTR with AES-CMAC), AES-PMAC-SIV (a parallelizable variant using AES-PMAC for better performance), and STREAM (for online/streaming encryption that also defends against reordering and truncation attacks). The library is part of a larger cross-language Miscreant project and is intended for developers who need authenticated encryption for individual messages, encryption keys, message streams, or large files.
The package has no runtime dependencies, making installation straightforward, but it is abandoned—the repository is archived, the last commit was 2019-09-03, and the latest release dates to 2017-12-25. The codebase is marked Pre-Alpha, indicating it was never considered production-ready by its authors. No security vulnerabilities are currently recorded, but the lack of active maintenance means any future issues will not be addressed by the original developers.
Use it for:
- Encrypt sensitive configuration files or encryption keys where nonce reuse must not compromise security.
- Implement streaming encryption for large files or network streams with built-in protection against message reordering.
- Build cross-language cryptographic systems using the interoperable Miscreant implementations across Go, Rust, JavaScript, Ruby, or C#.
- Wrap encryption keys in a deterministic, authenticated manner as an alternative to traditional key-wrapping schemes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides misuse-resistant authenticated encryption using AES-SIV, AES-PMAC-SIV, and STREAM constructions for encrypting messages, keys, and file streams.
No. The package is abandoned (last release 2017-12-25, repository archived, no commits since 2019-09-03) and marked Pre-Alpha. While the cryptographic constructions are theoretically sound and no known vulnerabilities exist, the lack of active maintenance means security issues and compatibility problems will not be addressed. Use only if maintaining legacy code already depending on it.
Install
miscreant on PyPI
pip
pip install miscreantuv
uv add miscreantpoetry
poetry add miscreantInstalling miscreant
Before you install
High install friction with no runtime dependencies. The package is abandoned—last commit was 2019-09-03 and latest release was 2017-12-25. Repository is archived. Pre-Alpha status signals incomplete development.
License in practice
MIT license permits commercial and private use with minimal restrictions, though the abandoned status means no ongoing legal or security updates from maintainers.
Quickstart
pip install miscreant
from miscreant import AESSIV
cipher = AESSIV(key)
encrypted = cipher.seal(plaintext, associated_data)
Package is abandoned with no active maintenance; security issues will not be addressed by the original developers.
Verify before relying
- Whether the cryptographic constructions (AES-SIV, AES-PMAC-SIV, STREAM) have been independently audited or validated since the last release in 2017-12-25.
- Current compatibility with modern Python versions and whether the package installs without build errors on current systems.
- Whether interoperability with other Miscreant implementations (Go, Rust, JavaScript, Ruby, C#) is maintained across versions.
- Specific key size requirements and parameter constraints for the cipher implementations.
Package facts
| License | MIT license (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,154 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 1,278,707/month — #4,120 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: miscreant-0.3.0.tar.gz
Keywords: cryptography
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
cryptoProvides command-line tools to encrypt and…
permissive · top 5,000 on PyPI
snitunSniTun is an SNI proxy with TCP multiplexer…
copyleft · top 15,000 on PyPI
tinkTink provides cryptographic APIs designed to be…
permissive · top 5,000 on PyPI
py3rijndaelpy3rijndael provides a pure-Python…
permissive · top 15,000 on PyPI
chacha20poly1305-reuseableProvides a reusable ChaCha20Poly1305 AEAD…
permissive · top 15,000 on PyPI
pyaesPure-Python implementation of AES encryption…
permissive · top 5,000 on PyPI
aes-pkcs5Provides AES encryption and decryption with…
permissive · top 15,000 on PyPI
ff3Implements NIST FF3 and FF3-1 format-preserving…
permissive · top 15,000 on PyPI
django-cryptography-django5Encrypts and decrypts data in Django models…
permissive · top 15,000 on PyPI
pyAesCryptEncrypts and decrypts files and binary streams…
permissive · top 15,000 on PyPI