Toolstia / Scytale cipher

Scytale cipher

The scytale is one of the oldest known ciphers. A strip of paper is wound around a rod and the message is written across it. Choose how many letters fit around the rod and encrypt or decrypt your text.

The scytale was a rod used in ancient Sparta. A strip wound around it was written across the turns, and the strip looked like nonsense once unwound. Here the text is written in rows of the chosen width and read down the columns. Spaces are kept, so use the same width to decrypt.

How it works

  1. Choose encrypt or decrypt.
  2. Set the rod size, which is the number of letters per turn.
  3. Enter the text and copy the result.

How it works

The text is written in rows of the chosen width and then read down the columns. Decrypting reverses this, and it works even when the last row is short.

The key

The only key is the rod size. Trying every size from 2 upward cracks it quickly, so it is for fun and learning.

Spaces and punctuation

Everything you type is kept and moved, including spaces and punctuation.

History

The Spartans are said to have used it for military messages around 2,500 years ago.

Questions

Is my text sent anywhere?

Everything happens in your browser, and nothing you enter is sent anywhere.

How do I decrypt a message?

Switch to decrypt and use the same rod size that was used to encrypt.

Is it the same as columnar transposition?

It is the simplest form of it. Columnar transposition adds a keyword to reorder the columns.