CPE 645 / CS 685
Applied Cryptography

Two-Time Pad

XOR two ciphertexts sent under one pad and the key cancels, leaving both plaintexts still in 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.