Scytale cipher

Wind a strip round a rod, write along it, unwind it: that's the scytale. Encode or decode with any rod size, or try them all.

How the scytale works

Take the message IAMHURTVERYBADLYHELP and a rod that fits 4 letters around it. Write the message along the rod in 4 rows of 5:

I A M H U
R T V E R
Y B A D L
Y H E L P

Unwind the strip and you read down the columns: IRYY ATBH MVAE HEDL URLP. To decode, write the ciphertext down the columns of a grid with the same number of rows, then read across.

Common questions

What is a scytale?

A Spartan message tool: a strip of leather or parchment wound around a rod (the scytale). The sender wrote along the rod, then unwound the strip, which showed jumbled letters. Only someone with a rod of the same thickness could rewind it and read the message. It is a transposition cipher: the letters stay the same, only their order changes.

What is the key for a scytale cipher?

The thickness of the rod, which decides how many letters fit around it. Here that is "letters around the rod": the number of rows the message is written in.

How do I decode a scytale without the key?

Try every rod size. A message of n letters only has a handful of sensible sizes, so the "Try every size" option lists them all, and the readable one stands out.

Is the scytale secure?

No. Even ancient readers could crack it by trying rods. Historians also debate how much the Spartans used it for secrecy rather than for authenticating messages.

More solvers and ciphers