Code
Classical and machine ciphers, from Caesar’s shift and the ACA’s 62 types to Enigma and Lorenz, and text as notes: enciphered with a key, chained, many broken without one.
Transposition
Rail fence, columnar (one or two keywords), route (a spiral, or quarter turns as in Kryptos part 3), scytale and Fleissner’s turning grille (1881), both ways, with diagrams. Rail fence and scytale are solved by trying every count, columnar by simulated annealing up to 20 columns and double transposition up to about 12. Plutarch (Lysander 19) describes the Spartan scytale; whether it served as a cipher is debated (Kelly, 1998).
Terms
History, how it works, how it was checked, limits
History
Plutarch (Life of Lysander 19) describes the Spartan scytale; whether it served as a cipher is debated (Thomas Kelly, “The Myth of the Skytale”, 1998). Eduard Fleissner von Wostrowitz set out the turning grille in his Handbuch der Kryptographie (1881). Part 3 of Jim Sanborn’s Kryptos (1990) was read by the NSA in 1992, Stein in 1998 and Jim Gillogly in 1999 as columnar transpositions; two quarter turns are equivalent.
How it works
The rail fence writes every character in a zigzag over 2–10 rails, read rail by rail. Columnar reads the columns under a keyword in its alphabetical order, drawn a column a step; a second keyword makes it double, drawn as two grids. Route reads rows of 2–20 letters in a spiral from the top right, or turns blocks of given widths a quarter. The scytale reads down one column for each turn of the strip. Fleissner’s grille, of side 4, 6, 8 or 10, is keyed by a digit 0–3 for each cell of its top-left quarter, so that in four turns every cell shows once. Without the key, every count of rails or turns is ranked by fluency, and the column order is annealed on the language’s quadgrams for widths 2–20, drawn as it runs; a double needs both widths.
How it was checked
Kryptos 3 decrypts with quarter turns of 24 and 8 to the Archive’s plaintext, and quarter turns undo for every length up to 40. The grille, worked by hand at 4 × 4, gives ABEFCDGHMNIJOPKL for key 0000, and for 80 random keys of the four sizes, both ways, every cell shows once and deciphering undoes enciphering. On 300 letters of the Declaration of Independence, seeded searches find a 9-column key among widths 8–10 and, given widths 6 and 7, a double transposition. The rail fence and the spiral, worked by hand, come back for every length tried; the grid drawn is the cipher’s for every text of 1 to 60 letters under two seeded keys. The rail fence and columnar encipher as the ACA’s types do; the scytale is checked only by reading back through Cipher Chain.
The tests hold 83 checks of this tool; 2 rest on outside material:
- Kryptos 3 decrypts with two quarter turns (24, then 8)
- The homophonic search’s run walked back (the Zodiac 408, one seeded start): at every step the key handed on, a letter a symbol, reads by the tab’s own rule a text of the fluency the search reported, and the last step is the key the start ended on
Limits
Only the rail fence keeps spaces and punctuation; the other tabs give capitals A–Z. The columnar search needs 20 letters and finds the columns’ order, never the keyword. A double past 12 columns may need more text. Routes and grilles found are keyed the ACA’s way. The rankings are untested.
- Plutarch, Life of Lysander 19, trans. B. Perrin (Loeb Classical Library, 1916), LacusCurtius
- Thomas Kelly, “The Myth of the Skytale”, Cryptologia 22 (3), 1998, pp. 244–260
- Eduard B. Fleissner von Wostrowitz, Handbuch der Kryptographie: Anleitung zum Chiffriren und Dechiffriren von Geheimschriften (Vienna: L. W. Seidel, 1881), Google Books
- Jim Gillogly, solutions of Kryptos parts 1–3, 16 June 1999 (mirror, Elonka Dunin)