CPE 645 / CS 685
Applied Cryptography

Breaking Autokey

No period to count, but the key stream is English: one correct guess at the opening unzips the rest.

CryptanalysisCrib draggingdemo
Objectives
  • Explain why Kasiski and the index of coincidence both fail on an autokey cipher.

  • Cascade a crib through a message and recover the plaintext.

  • Say why a key stream must be independent of the message it protects.


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