CPE 645 / CS 685
Applied Cryptography

Breaking Caesar

All 26 shifts scored against English letter frequency, so a loop picks the winner instead of a person.

CryptanalysisChi-squaredemo
Objectives
  • Compute a chi-square distance from English and say what it measures.

  • Rank every candidate decryption and identify the key without reading them.

  • Explain why brute force needs a scoring function before it needs a bigger machine.


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