Tool to decrypt/encrypt automatically with the Grandpré Cipher, using a large grid and letter coordinates.
Grandpré Cipher - dCode
Tag(s) : Homophonic Substitution Cipher, GRID_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!
The Grandpré cipher is a homophonic substitution cipher (the same letter can have several encryption) using a 10x10 grid.
The author (Grandpré) calls his process Méthode de Carré 10x10 (10x10 Square Method)
Encryption requires a grid, in the original version described by Grandpré, it is 10x10 in size and consists of 10 words (one per line) and the initials of the first 10 words themselves constitute an 11th word. Row and column coordinates are numbered 1,2,3,4,5,6,7,8,9,0.
Example: Grandpré proposes as a grid (which he calls checkerboard)
\ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 |
---|---|---|---|---|---|---|---|---|---|---|
1 | V | O | L | U | P | T | U | E | U | X |
2 | I | N | Q | U | I | E | T | U | D | E |
3 | M | A | J | E | S | T | U | E | U | X |
4 | O | B | L | I | G | E | A | N | C | E |
5 | U | N | I | F | O | R | M | I | T | E |
6 | T | W | I | C | K | E | N | H | A | M |
7 | I | N | G | O | L | S | T | A | D | T |
8 | E | I | N | S | I | E | D | E | L | N |
9 | R | Y | M | K | I | E | W | I | C | Z |
0 | S | H | R | E | W | S | B | U | R | Y |
The encrypted message consists of the substitution of the letters of the clear message by their coordinates (line, column) in the grid (if there are several, take one randomly).
Example: GRANDPRE can be coded 73 09 78 22 29 15 03 88
Grandpré decryption requires knowledge of the encryption grid (or of the 10 words composing it). The method consists of taking the digits of the code in pairs, the first digit indicating the row and the second the column of the letter in the grid.
Example: 45 56 32 72 29 15 03 66 is decrypted GRANDPRE
A message encrypted by Grandpré consists of digits, arranged in pairs of 2, so has an even length.
The presence of 10 10-letter words can be a clue.
Grandpré's method has evolved and some (including the American Cryptogram Association) recommend 8x8 size squares.
It is also possible to use column numbering starting from 0.
Polybius square is a very similar cipher method, but with a 5x5 square and no repeating letters in the grid.
Grandpré presents 7 grids/checkerboards (called damier) to present its encryption process:
Damier 1 : VOLUPTUEUX |
Damier 2 : |
Damier 3 : |
Damier 4 : |
Damier 5 : |
Damier 6 : |
Damier 7 : |
It also features a long list of 10-letter words (in French).
A. de Grandpré described his process in 1905 in his book, a cryptographic treatise, entitled Cryptographie pratique (Practical Cryptography).
dCode retains ownership of the "Grandpré Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Grandpré Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Grandpré Cipher" 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 "Grandpré Cipher" 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 "Grandpré Cipher" 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):
Grandpré Cipher on dCode.fr [online website], retrieved on 2024-11-21,