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 online 'Cardan Grille' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Cardan Grille' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Cardan Grille' 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 'Cardan Grille' 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!
Thanks to your feedback and relevant comments, dCode has developed the best 'Cardan Grille' tool, so feel free to write! Thank you!