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, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

**Caesar Box** Encryption uses a box, a rectangle (or a square), or at least a size W characterizing 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 clue.

This cipher appears in many movies or books, the most known are the scytale (parchment / ribbon from Sparta, Greece), the cipher used in Journey to the center of the Earth from Jules Verne (Arne Saknussemm's cryptogram), etc.

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.

The scytale is the other name of this cipher.

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

dCode retains ownership of the online 'Caesar Box Cipher' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Caesar Box Cipher' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Caesar Box Cipher' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Caesar Box Cipher' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Please, check our dCode Discord community for help requests!

NB: for encrypted messages, test our automatic cipher identifier!

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

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

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲
Thanks to your feedback and relevant comments, dCode has developed the best 'Caesar Box Cipher' tool, so feel free to write! Thank you!