Search for a tool
ADFGX Cipher

Tool to decrypt/encrypt ADFGX. ADFGX is a German encryption system, an old version of ADFGVX cipher, which uses a 5x5 square grid and a double mechanism of substitution then transposition.

Results

ADFGX Cipher -

Tag(s) : Substitution Cipher, Transposition Cipher, GRID_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 'ADFGX Cipher' tool for free! Thank you!

ADFGX Cipher

ADFGX 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)

Without knowing the permutation key

Without knowing the grid

See also: ADFGVX Cipher

ADFGX 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)
See also: ADFGVX Cipher

Answers to Questions (FAQ)

What is ADFGX? (Definition)

ADFGX is a substitution cipher used during World War I by the German army. It gets its name from the letters A, D, F, G, and X, which were used to label the columns and rows of a 5x5 grid used in encryption.

The version with the letter V and a 6x6 grid, called ADFGVX, is generally better known, because it is more widespread.

How to encrypt using ADFGX cipher?

Encryption is identical to the ADFGVX cipher, but it only uses 5 letters: A, D, F, G and X and so only a 5x5 grid.

As there is only 25 possible letters in the grid, one letter of the latin alphabet has to be removed, usually J and I are combined, it can also be V and W.

Example: See ADFGVX.

How to decrypt ADFGX cipher?

The decryption process is identical to the ADFGVX cipher.

How to recognize an ADFGX ciphertext?

The ciphertext should contains only 5 distinct characters: A, D, F, G and X.

(Optional) The ciphered message must have number of character divisible by the permutation length.

The name of the man who deciphered it is Painvin, homonym of 2 French words: bread (pain) and wine (vin), any allusion is a clue.

Any reference to Germany or its army at the beginning of the 20th century is a clue.

How to recognize a non-permuted text?

If the ciphertext has not be permuted, the text is a simple bigrammic substitution.

After a replacement by a random alphabet, the text should have an index of coincidence similar to the one of the plaintext language.

How to decipher ADFGX without key for permutation?

To crack ADFGX without a key, there is no method other than the brute-force attack (test of all possible permutations).

How to decipher ADFGX without grid?

The substitution grid can be found by performing an alphanumeric substitution of the bigrams resulting from the encrypted text after the permutations.

See the dCode tool for mono-alphabetic substitutions.

How to decipher ADFGX without key or grid?

The decoding of ADFGX without any information is complicated, but it is possible to find the permutation key first (see above) and then to perform a mono-alphabetical substitution.

Why the letters ADFGX?

The 5 letters A, D, F, G and X have been selected due to their Morse code equivalent. Indeed, their transcriptions are quite different, which avoids possible errors during radio/telegraph transmissions.

What is the GEDEFU 18?

GEDEFU 18 stands for GEheimschrift DEr FUnker 18 which translates as radiotelegraphists 18 cipher is the old name of the ADFGX and ADFGVX ciphers.

Source code

dCode retains ownership of the "ADFGX Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "ADFGX Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "ADFGX 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 "ADFGX 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 "ADFGX 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):
ADFGX Cipher on dCode.fr [online website], retrieved on 2024-12-21, https://www.dcode.fr/adfgx-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 'ADFGX Cipher' tool for free! Thank you!


https://www.dcode.fr/adfgx-cipher
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback