Julius Caesar devised a code-writing scheme called the Caesar Box; Mary, Queen of Scots created a transposition cipher and sent secret communiqués from prison; and the brilliant Arab scientist Abu Yusuf Ismail al-Kindi protected his secrets with an ingeniously conceived polyalphabetic substitution cipher.