StringMash.com

Scytale

Wind a strip round a rod, write along it, and unwind it. The letters are all there, just in a different order.

Conversion
25 characters
Updates as you type
4 letters round the rod

Show the steps
  1. With 4 turns of the strip round the rod, each row along the rod holds 5 letters.
  2. Write the message along the rod, a row at a time: Iamhu / rtver / ybadl / yhelp.
  3. Unwind the strip and it reads down the columns, one letter from each row in turn.

Using the scytale tool

Set how many letters fit round the rod, then type the message. That number is the key, and decoding needs the same one. Spaces are dropped, but every other character is kept as it is, because a scytale only moves letters around.

If you have cipher text and no key, try each number in turn. The right one reads as plain text straight away.

How it works

Wrap a strip of parchment round a rod in a spiral, and write the message along the rod, one row at a time. When the rod has turned all the way round, start the next row. Unwind the strip and the letters are scrambled, reading down the columns instead of along the rows.

With four turns round the rod, "I am hurt very badly help" fills four rows of five, IAMHU RTVER YBADL YHELP. Read down the columns and you get IRYYATBHMVAEHEDLURLP. Wikipedia uses the same example.

To read it, the receiver winds the strip round a rod of the same thickness and the rows line up again.

The Spartan cipher, maybe

The scytale is linked with ancient Sparta. The earliest hint comes from the Greek poet Archilochus, in the 7th century BC, but a full description of how it worked doesn't appear until Plutarch, who lived from about AD 50 to 120.

Historians argue about what it was really for. Some think it carried messages in plain text and that Plutarch's account is a myth. Others suggest it was used to check that a message was genuine rather than to hide it.

Questions

What is the key of a scytale?

The thickness of the rod, which sets how many letters fit round it. Here you type that number.

How do I decode a scytale without the key?

Try every number of letters round the rod, from 2 up. There are only as many keys as letters in the message, so the right one turns up quickly.

Is the scytale a substitution cipher?

No. It is a transposition cipher. Every letter stays the same and only the order changes, like the [rail fence cipher](/rail-fence-cipher).

Sources

Added and reviewed . What's new