One-Time Pad: Perfect Secrecy, Key Bias, Mutual Information and the Two-Time-Pad Leak
XOR a message with a random key and the ciphertext reveals nothing: that is Shannon's perfect secrecy. Watch a scanning gantry encrypt a row of message bits, then break the conditions one at a time. Bias the key and the mutual information between message and ciphertext becomes positive; reuse the key for a second message and the XOR of the two ciphertexts equals the XOR of the two plaintexts. Exact formulas, exhaustive enumeration and Monte Carlo checks, with a Blender-built encryption gantry and bit trays.
XOR a message with a random key and the ciphertext reveals nothing: that is Shannon's perfect secrecy. Watch a scanning gantry encrypt a row of message bits, then break the conditions one at a time. Bias the key and the mutual information between message and ciphertext becomes positive; reuse the key for a second message and the XOR of the two ciphertexts equals the XOR of the two plaintexts. Exact formulas, exhaustive enumeration and Monte Carlo checks, with a Blender-built encryption gantry and bit trays.
XOR a message with a random key and the ciphertext reveals nothing: that is Shannon's perfect secrecy. Watch a scanning gantry encrypt a row of message bits, then break the conditions one at a time. Bias the key and the mutual information between message and ciphertext becomes positive; reuse the key for a second message and the XOR of the two ciphertexts equals the XOR of the two plaintexts. Exact formulas, exhaustive enumeration and Monte Carlo checks, with a Blender-built encryption gantry and bit trays.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install