Scytale Cipher Explained: How It Works
Scytale cipher explained: how the ancient Spartan rod-and-strip transposition cipher worked, how it differs from substitution, plus a hand-worked example.
Encode or decode the Spartan rod cipher by choosing how many columns wrap around the rod. Free, private — nothing leaves your device.
Your Scytale result will appear here.Try any column count from 2 to 1000. If you don't know the size, step through a few and see which one reads.
The result updates as you type. No button to press.
Letters, spaces, digits and punctuation all stay in the text, only their order changes.
Runs entirely in your browser. Nothing you type is uploaded or stored.
This is how many letters fit around one turn of the rod. The sender and reader must use the same number.
The text is written in rows of that width and read down the columns. Decoding reverses it exactly.
The result updates live. Copy it, download it as a .txt file, or use swap to feed it back in and check the round trip.
The Scytale scrambles the order of letters instead of swapping them. It's great for teaching transposition, not for real security.
See the difference between moving letters around and swapping them for other letters.
If a message looks like real words in the wrong order, try a few rod sizes.
Verify a hand-worked Scytale instead of writing out the grid again.
Try the strip-and-rod method attributed to the Spartans, one of the oldest known ciphers.
The Scytale is a transposition cipher. Ancient Greeks, notably the Spartans, are said to have wound a strip of leather around a rod and written along it. Unwound, the strip looks like random letters, and only a rod of the same thickness shows the message again.
Switch to Decode, set the column count to your guess at the rod size, and paste the ciphertext. If the output isn't readable, try a different number. The right rod size gives you real words straight away.
Try divisors of the message length first, since a full rod gives a clean grid. Step through small values like 2 to 10 and look for readable words.
Scytale only reorders characters, it never replaces them. So spaces and punctuation are scrambled along with the letters, and come back in the right place on decode.
That's fine. The tool handles a short last row and decodes it back exactly, so you don't need to add padding.
No. There are only a few sensible rod sizes to try, so it falls to guessing in seconds. It's for puzzles and learning only.
No. Everything runs in your browser, and nothing you type is sent to a server.
Free, no account needed.