← Iris

Mode Cipher
Shift 3
Plaintext
Ciphertext
Frequency analysis
Plaintext
Ciphertext
English average
On frequency analysis

In approximately 850 CE, the Arab polymath Abū Yūsuf Ya‘qūb ibn Isḥāq al-Kindī wrote A Manuscript on Deciphering Cryptographic Messages in Baghdad. In it, he described the first known technique for breaking substitution ciphers: count how often each letter appears in the ciphertext, then match those frequencies against the known frequencies of the language.

The insight is elegant: encryption hides the identity of each letter, but it cannot hide how often each letter appears. In English, E accounts for roughly 12.7% of all letters, T for 9.1%, A for 8.2%. These statistical signatures survive encryption and betray the cipher.

This technique remained the fundamental weapon in cryptanalysis for nearly nine hundred years — from the Abbasid caliphate through the Renaissance courts of Europe, until the development of polyalphabetic ciphers and, eventually, mechanical encryption in the twentieth century.