How it works
This scytale cipher decoder winds your code back onto a rod of any size, or tries every rod and marks the three rows that read most like English. Below are 27 worked rods, each with its message.
Read the full guide
Code, rod size, read along
Paste the code into Code to unwind and set Rod size. With full rows, a rod of 4 takes every 4th letter: IOTOC TYDAM OANEU YNETX reads I cannot meet you today, then X. No rod size? Try every rod marks the three rows richest in English letter pairs. For all 25 scrambled codes below, the right rod was among them.
When the letters do not divide
Nineteen letters do not fill a rod of 3. A sender pads with X, so send figs not soldiers ends XX, or leaves the last row short. Decoding needs no choice: the letter count says which columns are short. A clue that counts turns of the strip? Under More options, set The number means to Turns of the strip.
Tips
- Count first. Twenty letters fill rods of 2, 4, 5 and 10 exactly. A sender who padded chose one.
- Rod of 1 moves nothing, and neither does a rod that takes the whole message in one turn.
- Every rod gives nonsense? The columns may have been read in a key word's order: a columnar transposition.
Questions and answers
How do I decode a scytale cipher without the rod?
Try every size. The rod is only a number, and a 40-letter code has fewer than 20 sizes worth trying, so Try every rod is the whole attack. Whoever intercepts the strip, Wikipedia says, can find the rod size with little difficulty.
Did the Spartans really use the scytale?
They are said to have. The first mention is Archilochus in the 7th century BC, but no account of how it worked is known before Plutarch's, centuries later. Several authors suggest his account is mythological and the scytale carried plain messages.
How does a scytale cipher work?
A strip is wound round a rod and the message written along it, a letter on each turn. Unwound, the strip shows the letters out of order. Nothing is replaced, so E and T stay commonest. Treasure hunts only, never a real secret.