CPE 645 / CS 685
Applied Cryptography
Calculators

General Monoalphabetic Substitution

Replace each letter with another letter, in any order. There are 26! keys, but letter counts still reveal the message.

Monoalphabeticdemo
Objectives
  • Build a substitution key as a permutation of the alphabet.

  • Compare the keyspace against a brute-force budget.

  • Explain why a fixed letter-to-letter map leaks frequency no matter how large the key is.


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