1001Ferramentas
💿 Security

Interactive Alberti Cipher Disk

Alberti cipher disk with two rotating rings — rotate the inner ring and encrypt/decrypt letter by letter.

Alberti's disk and the birth of polyalphabetic ciphers

Leon Battista Alberti described in 1467 an instrument of two concentric disks: the outer one carrying the plain alphabet, the inner one the cipher alphabet. Line up a letter of the inner with one of the outer and you have a substitution. The revolutionary idea was not the disk itself — it was turning it during the message, which makes the same letter encipher differently depending on position.

The page shows both disks and the result for the chosen offset. With the disk held still, what you have is a Caesar cipher with that shift — and that is how most people use the instrument. The gain appears when the offset changes mid-text, which the page supports by enciphering successive stretches with different values.

Alberti is called the father of Western cryptography precisely for that idea of an alphabet changing along the message. It took centuries to be fully exploited: Vigenère, which switches alphabet on every letter following a keyword, is a direct descendant, and the rotor machines of the twentieth century are the same idea with gears turning automatically.

Frequently asked questions

With the disk still, is it just Caesar?
Exactly, and that is the most useful comparison. A fixed offset gives 25 possibilities and falls on the first brute-force attempt. What Alberti proposed was turning the disk at agreed points in the message, usually signalled by a capital letter in the ciphertext.
How did the recipient know when to turn?
From the ciphertext itself. Alberti's convention was inserting a letter indicating the new alignment — on finding it, the recipient turned the disk to the indicated position and carried on. It is a key index embedded in the message, an idea that reappears in modern protocols.
Why is he considered so important?
Because he breaks the premise underpinning all cryptanalysis of the time: that each letter always has the same substitute. Without that premise, simple frequency analysis stops working, and cryptanalysis needed entirely new tools — which only arrived in the nineteenth century with Kasiski.

Related Tools