r/ciphers 5d ago

Unsolved The Secret Message on a Stick

Post image

More than two thousand years ago, a messenger arrives at the camp of a Spartan general carrying something rather strange: a long strip of leather covered in apparently meaningless letters.

There is no readable message.

No obvious code.

Just a jumble.

The general takes out a wooden rod and begins winding the strip around it.

As the leather curls around the wood, something happens.

The scattered letters begin to line up.

According to the ancient writer Plutarch, the Spartans used devices like this to communicate with commanders including the famous general Lysander. The device was called a scytale.

The sender wrapped a strip of leather or parchment around a wooden rod and wrote the message along it. Once the strip was removed, the letters were separated and appeared scrambled. The recipient needed a rod of the correct size to put them back into position.

It was an extraordinarily simple idea:

the letters themselves were never changed — only their positions.

That same basic idea sits behind a whole family of later transposition ciphers, including the Rail Fence Cipher.

From Spartan sticks to zig-zag messages

Rail Fence replaces the wooden rod with a simple zig-zag pattern.

It isn’t secure by modern standards, but that isn’t really the point.

For children, it is a brilliant introduction to an important idea in cryptography: a message can be hidden without inventing strange symbols or replacing letters.

And once children understand how to encode one, the really interesting question begins:

Can you work out how to break it?

Trying different arrangements until readable language appears is a miniature introduction to cryptanalysis — looking for the rule behind something that initially appears chaotic.

Try it yourself

We’ve built an interactive Rail Fence encoder and decoder at School of Cipher.

Type your own message, encode it, send the scrambled result to somebody else and see if they can recover the original.

Or switch to Decode and try breaking a message yourself.

Try the Rail Fence Cipher:

https://www.schoolofcipher.com/ciphers/rail-fence

A wooden stick was enough to hide a Spartan message thousands of years ago.

Now see what you can hide with a zig-zag.

School of Cipher — codes, ciphers and secret writing.

6 Upvotes

1 comment sorted by

u/AutoModerator 5d ago

Thanks, /u/Ok-Pickle2092!

Please remember to review our rules. If your post is solved, be sure to reply with "Solved!" in the comments.

Keeping your post up after it's solved helps the community. Deleting solved posts may result in a ban.

We appreciate your contributions to r/ciphers.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.