This simulator shows how a message is transformed into random-looking ciphertext by combining it with a key stream, and how reusing that key stream against a second message reveals recoverable patterns.
Enter a plaintext message and a key, encrypt it to see the resulting ciphertext, then try reusing the same key on a different message to observe how the perfect secrecy breaks down.
Sliders and text fields let you set the plaintext, key, and toggle key reuse to compare true one-time-pad security against the vulnerability created by reusing a key.
The Venona project ran for over 30 years, from 1943 to 1980, before US and UK cryptanalysts finished extracting what they could from reused Soviet one-time pad traffic.
This simulator shows how a message is transformed into random-looking ciphertext by combining it with a key stream, and how reusing that key stream against a second message reveals recoverable patterns.
This simulator shows how a message is transformed into random-looking ciphertext by combining it with a key stream, and how reusing that key stream against a second message reveals recoverable patterns.
Enter a plaintext message and a key, encrypt it to see the resulting ciphertext, then try reusing the same key on a different message to observe how the perfect secrecy breaks down.
The Venona project ran for over 30 years, from 1943 to 1980, before US and UK cryptanalysts finished extracting what they could from reused Soviet one-time pad traffic.