Tool to decrypt/encrypt with Caesar square. Caesar Box is a simple transposition cipher used in the Roman Empire, in which letters of the message are written in lines in a square (or a rectangle) and then, read by column.

Caesar Box 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 with Caesar square. Caesar Box is a simple transposition cipher used in the Roman Empire, in which letters of the message are written in lines in a square (or a rectangle) and then, read by column.

Caesar Box Encryption uses a box, a rectangle (or a square), or at least a size W caracterizing its width (that corresponds to the number of column of text)

Example: Consider W=3 and the message to encrypt DCODE.

The message is written by lines and every W characters, go to a new line. This will delimitate a box of characters.

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

Example: DCO

DE_

The encrypted message is obtained by reading the box by column.

Example: The cipher text is DDCEO_

Caesar Box decryption requires to know the dimensions of the box (width W by height H)

Example: Consider W=3, and the ciphertext is CSAAER which is 6-character long, then H=2 (as 6/3=2).

Write the text in column in the box. The plain text appears by reading each line.

Example: CAE

SAR

Example: The original plain text is CAESAR.

The Caesar box is a transposition cipher, so the coincidence index is the same as that of the plain text.

If the length of the message is a perfect square, it is a good sign.

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

Sometimes the message has a square number of characters (16 = 4.4 or 25 = 5 * 5 or 36 = 6 * 6, etc.), which makes it possible to deduce the size of the square, but sometimes it is a totally different number of characters.

When the box is a perfect square, encryption and decryption are identical.

Variants are numerous and used in many movies or books, the most known are the scytale, the cipher used in Journey to the center of the Earth, etc.

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

box,caesar,square,line,column,scytale,greece,sparta,roman,julius,caesar,ave,caius,iulius,spire,scroll,journey,center,earth,verne,arne,saknussemm,grauben,lidenbrock,axel

Source : http://www.dcode.fr/caesar-box-cipher

© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode