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.

ADFGX Cipher - dCode

Tag(s) : Substitution Cipher, Transposition 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 decryption process is identical to the ADFGVX cipher.

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 war Painvin, a name that contains 2 French words: bread (pain) and wine (vin), any reference is a clue.

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.

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

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.

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.

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 transmissions.

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

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

Please, check our dCode Discord community for help requests!

NB: for encrypted messages, test our automatic cipher identifier!

- ADVGX Decoder
- ADVGX Encoder
- How to encrypt using ADFGX cipher
- How to decrypt ADFGX cipher
- How to recognize an ADFGX ciphertext?
- How to recognize a non-permuted text?
- How to decipher ADFGX without key for permutation?
- How to decipher ADFGX without grid
- How to decipher ADFGX without key or grid?
- Why the letters ADFGX?
- What is the GEDEFU 18?

adfgx,adfgvx,painvin,war,grid

Source : https://www.dcode.fr/adfgx-cipher

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲
Thanks to your feedback and relevant comments, dCode has developed the best 'ADFGX Cipher' tool, so feel free to write! Thank you!