Cryptography · a Light
Codebreaking was invented by counting letters in Arabic
Al-Kindi, the philosopher of Baghdad who died around 873, wrote a short treatise on deciphering encrypted messages. In it he explains that if you know the language a message is written in, you take a long ordinary text in that language, count how often each letter appears, then count the symbols in the cipher and match the most frequent to the most frequent. That is frequency analysis, and it broke every simple substitution cipher for the next seven hundred years. The manuscript was lost for centuries and was rediscovered in 1987 in the Ottoman archive in Istanbul. Scholars of the Qur'an had already been counting letters and word frequencies, which is where the habit came from.
Al-Kindi · Baghdad, died c. 873 CE
Read beside it
The words
More Lights
- Frequency analysis came out of Arabic dictionary workAl-Khalil to Ibn al-Durayhim · 8th to 14th c.
- Gibraltar is a rock named after a Berber commanderJabal Tariq · 711 CE
- Baghdad was built as a perfect circle and nothing remainsAl-Mansur · Baghdad, 762 CE
- The most famous teacher in Baghdad walked away in 1095Al-Ghazali · Baghdad, 1095 CE