Scytale Cipher

Inputs

The key: both sides need the same number.

Results

Written on the rod

A scytale was a wooden rod used in ancient Greece, famously by Sparta. A strip of leather or parchment was wound around it, the message written along the rod, then the strip unwound: the letters came out scrambled until the strip was wound on a rod of the same thickness. In modern terms it’s a transposition cipher: letters keep their identity but change places.

How to use it

Type your message and choose the number of turns around the rod (the key). Spaces are removed unless you keep them. The grid shows the message as written along the rod; the cipher text is read down its columns.

Example: “I am hurt very badly help” with 4 turns becomes Iryyatbhmvaehedlurlp. Decoding it with 4 turns gives the message back.

Questions and answers

Is the scytale secure?

No. There are only as many keys as possible rod sizes, so anyone can try them all in seconds. It’s a fun puzzle and a good first example of a transposition cipher.

What if the message doesn't fill the grid?

The last row is simply shorter, and the tool accounts for that when decoding. Some people add filler letters such as X to fill the grid; then they appear at the end when decoding.

How is it different from Caesar or Vigenère?

Those replace each letter with another (substitution). The scytale keeps every letter and only changes their order (transposition).

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
textThe message, or the cipher text to decode.
rowsTurns around the rod (the key), 2 to 50.
modeencode or decode.
spacestrue to keep spaces; false removes them first.

Example: https://toolabelle.com/scytale-cipher/#text=Meet+me+at+noon&rows=3&mode=encode&spaces=false

Related tools