Tool to decrypt/encrypt using a scytale. Scytale is a very simple transposition cipher used in ancient Greece and by spartans. A band is wrapped around a rod, a message is written, and when the band is unrolled a ciphertext appears.

Scytale Cipher - dCode

Tag(s) : Cryptography,Transposition Cipher

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

This page is using the new English version of dCode, *please make comments* !

Sponsored ads

Tool to decrypt/encrypt using a scytale. Scytale is a very simple transposition cipher used in ancient Greece and by spartans. A band is wrapped around a rod, a message is written, and when the band is unrolled a ciphertext appears.

Encryption uses a cylinder and a band, L is the number of turns of the band around the cylinder

L=3. One wants to code DCODE.

The message is written along the cylinder, one letter per band, and when the end is reached, one goes to a new line.

If needed, the last line can be completed with another character, e.g. X or _.

DCO

DE_

The ciphered message is the band unrolled, (i.e the message read by column).

The cipher text is DDCEO_

Decryption requires to know the number N of letters by turn of the band (the size of the cylinder), or L the number of turns around the cylinder.

Let L=3, and the ciphertext is DDCEO_' which is 6-character long, then N = 2 (because 6/3=2).

One wraps the band around the cylinder and the plain text should appear.

DCO

DE_

The original plain text is DCODE.

As it is a transposition cipher, the ciphered message has an index of coincidence similar to the language of the plain text.

One can crack Scytale by testing all possible size of the rectangle.

Scytale is a practical application of the Caesar Cipher.

8 to 6 centuries BC

dCode retains ownership of the source code of the script Scytale Cipher. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Scytale Cipher script for offline use, for you, your company or association, see you on contact page !

scytale,box,caesar,line,column,greece,sparta,spire,scroll,parchment,rod

Source : http://www.dcode.fr/scytale-cipher

© 2017 dCode — The ultimate 'toolkit' website to solve every problem. dCode