Tool to decrypt/encrypt with Caesar square. Caesar Box is a 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) : 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*!

Sponsored ads

Tool to decrypt/encrypt with Caesar square. Caesar Box is a 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: Take 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: Take 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.

This encryption is similar to that of the scytale cipher, which have appeared between the 10th and 7th centuries B.C., a long time before Caesar.

dCode retains ownership of the source code of the script Caesar Box Cipher online. 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, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Caesar Box Cipher script for offline use on PC, iPhone or Android, ask for price quote 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 : https://www.dcode.fr/caesar-box-cipher

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

Feedback