CPE 645 / CS 685
Applied Cryptography

Breaking Hill

The cipher is linear, so two known blocks are two equations: K = C·P inverse, mod 26.

CryptanalysisKnown plaintextdemo
Objectives
  • Walk a message for a block pair whose matrix inverts mod 26.

  • Recover a 2x2 key from four letters of known plaintext.

  • Explain why a non-linear round step is the fix, and a longer key is not.


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