CPE 645 / CS 685
Applied Cryptography
Calculators

Vernam Cipher and the One-Time Pad

Use a random key as long as the message. It cannot be broken if the key is random, secret, and used only once.

Polyalphabeticdemo
Objectives
  • State the four conditions the one-time pad requires.

  • Show that any plaintext of the right length is a possible decryption.

  • Explain why key length, generation, and distribution keep it impractical.


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