CPE 645 / CS 685
Applied Cryptography
Calculators

Two-Time Pad

XOR two messages that were encrypted with the same pad. The key cancels out, and both messages are still there.

CryptanalysisKey reusedemo
Objectives
  • Show that C1 xor C2 equals P1 xor P2 and contains no key at all.

  • Drag a crib along the combined stream and recover text from both messages.

  • Connect the same failure to VENONA, WEP, and a repeated AES-GCM nonce.


Static site. Every demo computes in your browser, and nothing you type is sent anywhere.