A CLI/TUI app and Python module for breaking One Time Pad ciphers with re-used keys using dictionary-enhanced, automated crib-dragging.
-
Updated
Mar 2, 2026 - Python
A CLI/TUI app and Python module for breaking One Time Pad ciphers with re-used keys using dictionary-enhanced, automated crib-dragging.
Deal a shuffled deck of cards into a keystream to hands-on teach one-time keys, key reuse attacks, and stream ciphers. Encrypt messages, share via QR, then crack a reused deck with crib dragging. A client-side Cipher Museum PWA with CTF challenge mode and educator materials.
Browser-based one-time pad demo — perfect-secrecy encrypt/decrypt, then the two-time-pad break: XOR two ciphertexts under a reused key and crib-drag to recover both plaintexts. Real XOR over real bytes. No backends. No simulated math.
To associate your repository with the crib-dragging topic, visit your repo's landing page and select "manage topics."