My solutions to the programming projects that accompany Dan Boneh's crypto course
-
Updated
Jul 8, 2022 - JavaScript
My solutions to the programming projects that accompany Dan Boneh's crypto course
A CLI/TUI app and Python module for breaking One Time Pad ciphers with re-used keys using dictionary-enhanced, automated crib-dragging.
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.
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.
Add a description, image, and links to the crib-dragging topic page so that developers can more easily learn about it.
To associate your repository with the crib-dragging topic, visit your repo's landing page and select "manage topics."