Tool to decrypt/encrypt with a cardan grille. The Cardan grille is a mask superimposed to the text that bring up some letters to make a message.
Cardan Grille - dCode
Tag(s) : Substitution 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!
Cardan encryption uses another text (understandable or not) of which only a few letters are from the original text.
In practice, Cardan uses a mask, a grille in which some cells are opaque, others empty.
Example: Code DCODE with the mask XXXXXX_XXXXXX_XXX_X_XXXXX_XXXX where X is an opaque cell and _ an empty one.
Superimpose the mask cover, write the text in the empty boxes, remove this cover and fill the rest with random letters.
Example: DCODE is written in empty cells XXXXXXDXXXXXXCXXXOXDXXXXXEXXXX and it is possible to fill with letters like OZPCESDVIDGABCNTEOHDERXJXEMLUE
Cardan decryption requires knowledge of the grille. The decrypted text appears by placing the cover on the text.
Example:
OESDVBCNEOHDEEML |
XXX_XX_XX_X_X_XX |
XXXDXXCXXOXDXEXX |
___D__C__O_D_E__ |
The encrypted message is very long compared to original plain text.
Cardinal Richelieu encrypted his messages in the same way, but the ciphertext took the classical form of a common text. The secret message consisted of only a few of the letters of the message that were revealed with the cache. Any reference to Cardinal Richelieu can be a clue.
The decryption without grille is very difficult, one should try all the grids.
Using a probable word, it is possible to estimate the coverage mask and know the amount of letters to ignore.
Cardan is the name of Jérome Cardan (Gerolamo Cardano) its italian creator.
dCode retains ownership of the "Cardan Grille" source code. Except explicit open source licence (indicated Creative Commons / free), the "Cardan Grille" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Cardan Grille" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Cardan Grille" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Cardan Grille" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Cardan Grille on dCode.fr [online website], retrieved on 2024-11-21,