The Caesar cipher: the classic
According to the Roman historian Suetonius, Julius Caesar encrypted confidential letters by shifting every letter three places along the alphabet. A becomes D, B becomes E, and at the end the alphabet starts over: X becomes A. That turns WIEN (German for Vienna) into ZLHQ.
The shift is the key. Because there are only 25 useful keys, any Caesar text can be cracked by trying them all. The translator makes that quick: switch to “Decode” and change the shift until real words appear.
ROT13: Caesar with a twist
ROT13 is a Caesar shift of exactly 13 places – half the alphabet. That makes encoding the same as decoding: run a text through ROT13 twice and you have the original again. On Usenet in the 1980s, people used it to hide punchlines and spoilers from anyone who didn’t want to read them.
ROT13 offers no protection at all. It’s a curtain, not a lock – and that’s exactly the point.
Morse code: messages in dots and dashes
Samuel Morse and Alfred Vail developed Morse code in the 1830s for the electric telegraph. The international version in use today goes back to Friedrich Clemens Gerke, who revised it in 1848. Common letters are short: E is a single dot, T a single dash. SOS – three short, three long, three short – has been the best-known distress signal since the early 20th century.
In the translator, a space separates letters and a slash separates words: “... --- ... / .-- .. . -.” reads SOS WIEN. When decoding, you can also use · or – instead of dot and dash. Morse doesn’t have to be written: you can tap it, whistle it or flash it with a torch.
Mirror writing and A1Z26
Leonardo da Vinci filled much of his notebooks in mirror writing, from right to left. True mirror writing also flips every letter; the translator reverses the order of the characters – the simplest form, readable without a mirror. “Vienna” becomes “anneiV”.
A1Z26 replaces every letter with its position in the alphabet: A = 1, B = 2, up to Z = 26. Within a word the numbers are joined by hyphens, words are separated by a space – “8-5-12-12-15 23-9-5-14” reads HELLO WIEN. It’s a favourite in puzzle books, geocaching and children’s treasure maps.
Umlauts, accents and special characters
Caesar, ROT13, Morse and A1Z26 only know the 26 letters of the Latin alphabet. So the translator first writes the German Ä, Ö and Ü as AE, OE and UE and ß as SS; accents such as in é are dropped. When decoding you get “AE” back, not “Ä” – the reader still understands the message.
Digits, punctuation and spaces stay unchanged with Caesar and ROT13. To make the code harder, leave out the spaces or write everything in groups of five, as radio operators used to.