Rare · bronze frame
Friedrich Kasiski was a retired Prussian infantry major, not a professional codebreaker. In 1863 he published a short book on secret writing that did what three centuries of experts had not: it explained, step by step, how to break the 'indecipherable' keyword cipher. His trick was to look for repeated groups of letters in the ciphertext. When the same word happens to line up with the same part of the keyword, it produces the same scrambled letters. Measure the distances between those repeats and they share a common factor: the length of the keyword. Once you know the length, the message splits into simple Caesar shifts, and each one falls to letter counting. The English mathematician Charles Babbage seems to have broken the cipher earlier, but he never published his method.
Why it mattered
Kasiski's test ended the keyword cipher's reputation and showed that repetition is a codebreaker's best friend.