The Spartan scytale · 03 Worked example

The scytale: worked example

Encrypting the message ATTACKATDAWN with a three-row scytale, and decrypting it step by step.

We want to encrypt ATTACKATDAWN (12 letters) with a staff around which 3 rows fit. We therefore need 4 turns of the strip, i.e. 4 columns.

Encrypting

We write the message by rows, 4 letters per row:

terminale
row 1:  A T T A
row 2:  C K A T
row 3:  D A W N

When unwound, the strip carries the letters column by column: A C D, T K A, T A W, A T N.

terminale
ciphertext:  ACDTKATAWATN

Decrypting

The recipient knows there are 3 rows. They split the ciphertext into groups of 3 letters — ACD, TKA, TAW, ATN — and write them as columns side by side. Reading by rows then gives ATTA · CKAT · DAWN, that is ATTACK AT DAWN.

Continue with
04 The maths

The scytale: the maths

The scytale as a permutation of positions, the formula that moves each letter, the number of possible keys and why letter frequencies do not change.

↑