Scytale Cipher

2.5K 29 0
                                    

12. SCYTALE CIPHER
> Suppose the rod allows one to write four letters around in a circle and five letters down the side of it. To decrypt, all one must do is wrap the leather strip around the rod and read across.
(Note: make a table and insert there your input, table is based on diameter)
Example message:
Plaintext: Hey i was doing just fine before i met you
Diameter: 7
H|E|Y| I|W|A|S
D|O| I|N|G|J|U
S|T|F| I|N|E|B
E|F|O|R|E| I|M
E|T|Y|O|U|
Ciphertext: HDSEEEOTFTYIFOYINIRO­­WGNEUAJEISUBM

(c)

Codes And CiphersWhere stories live. Discover now