Search for a tool
Digrafid Cipher

Tool to decrypt/encrypt with digrafid. The Digrafid cipher is a tomogrammic encryption system using two grids of letters and transpositions of their coordinates.

Results

Digrafid Cipher -

Tag(s) : Polygrammic Cipher

Share
Share
dCode and more

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!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Digrafid Cipher' tool for free! Thank you!

Digrafid Cipher

Digrafid Decoder

 


Loading...
(if this message do not disappear, try to refresh this page)

Loading...
(if this message do not disappear, try to refresh this page)

Digrafid Encoder

 


Loading...
(if this message do not disappear, try to refresh this page)

Loading...
(if this message do not disappear, try to refresh this page)

Answers to Questions (FAQ)

How to encrypt using Digrafid cipher?

Digrafid encryption uses 2 grids (of 3x9 and 9x3) with 27 characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ# (the # symbol is added to the alphabet).

Example: Encrypt DCODE with two alphabetical grids with identical content: ABCDEFGHIJKLMNOPQRSTUVWXYZ#, the first (1) is horizontal and the second (2) vertical and are connected by a 3rd grid (3) numeric 3x3 as follows:

(1)
\123456789
1ABCDEFGHI
2JKLMNOPQR
3STUVWXYZ#
(3)
\123
1123
2456
3789
\123
1ABC
2DEF
3GHI
4JKL
5MNO
6PQR
7STU
8VWX
9YZ#
(2)

Split the plain message into blocks of 6 and make 3 bigrams. If the message to be encrypted has a non-multiple length of 6, symbols are added (usually #).

Example: The length of the plain text DCODE (5 letters) is not multiple of 6, add # at the end: DCODE# and the cut in bigrams to get DC,OD,E#

For each bigram consisting of the letters L1 and L2, carry out the following operations:

1) Write down 3 numbers:

— Mark in the grid 1 the column number of the letter L1.

— Mark in the grid 3 the intersection number of the line L1 in the grid 1 and the column of L2 in the grid 2.

— Mark in grid 2 the line number of the letter L2.

Example: For the first bigram DC, in grid 1, the letter D is in position (1,4) (line 1, column 4). In grid 2, the letter C is in position (1,3) (line 1, column 3). The intersection of the two letters in the grid 3 is thus in position (1,3) (line 1, column 3) is the number 3.
4,3,1 are the 3 digits necessary for the following encryption: (4: column of the letter D in the grid 1, 3 number of the grid 3, and 1 line of the letter C in the grid 3) . In the same way OD and E# respectively correspond to triplets 6,4,2 and 5,3,9.

2) Write the 3 groups of 3 digits obtained in the block of 6 horizontally one below the other.

Example:

431
642
539

3) Then read vertically (in columns) to obtain 3 new 3-digit numbers.

Example: Reading in column gives 3 new triplets: 4,6,5, 3,4,3, 1,2,9.

4) With the numbers x,y,z of each triplet, locate

— The position of y in grid 3 (line L, column C)

— The letter in line position L, column x in grid 1

— The letter in line position z, column C in grid 2

The 2 letters obtained are the numerical letters for the bigram

Example: With the first triplet 4,6,5, mark 6 in grid 3 which is on line 2 and column 3.
The letter in grid 1, positioned column 4, line 2 is M.
The letter in grid 2, positioned column 3, line 5 is O.
M and O are therefore the 2 encrypted letters.

Repeat the 4 operations for each bigram, and repeat the complete algorithm for each block of 6 letters of plain text.

Example: The other 2 triplets give LG and AZ, the final encrypted message is: MOLGAZ

How to decrypt Digrafid cipher?

Decryption is identical to the encryption process.

How to recognize a Digrafid ciphertext?

The encrypted message has a fairly low index of coincidence. The message has no specific characteristics, a hacker can attack it by a frequency analysis of bigrams.

What are the variants of the Digrafid cipher?

Multiple variants can be created (and it can be written Digrafide). First, the reading order of the grids may be reversed (both at the beginning step and the end step). Then, the order of triplet numbers can be changed by transposition. Finally, the grid sizes can be changed, even if 3 * 9 = 27 is very convenient.

Source code

dCode retains ownership of the "Digrafid Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Digrafid Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Digrafid 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 "Digrafid Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "Digrafid 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):
Digrafid Cipher on dCode.fr [online website], retrieved on 2024-07-27, https://www.dcode.fr/digrafid-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Digrafid Cipher' tool for free! Thank you!


https://www.dcode.fr/digrafid-cipher
© 2024 dCode — El 'kit de herramientas' definitivo para resolver todos los juegos/acertijos/geocaching/CTF.
 
Feedback