CPE 645 / CS 685
Applied Cryptography
Calculators

Kasiski Examination

Find repeated groups of letters, and measure the distances between them. Shared factors of those distances point to the key length.

CryptanalysisPeriod findingdemo
Objectives
  • Collect repeat distances from a polyalphabetic ciphertext and factor them.

  • Explain why the plain gcd of every distance fails on a real message.

  • Score factor votes against chance and recover the key length.


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