Choose language

PL, EN, ES, DE, FR, RU


ADFGX / ADFVGX cipher - online encoder / decoder


ADFGX cipher online encoder and decoder. Encrypt and decrypt any cipher created in a ADFVGX cipher.
ADFGX / ADFVGX cipher is a simple substitution cipher used by the German army during the First World War for communication on the battlefield. With our encoder you can both encrypt and decrypt any text with ADFGX / ADFVGX cipher. Select the encryption type and fill in the key square, manually or select a random square. Double letters / numbers will not be accepted and in the case of ADFGX J it will be rejected, use I instead. Finally enter a keyword and choose whether you want to encode or decode the text.





ADFGX / ADFVGX cipher - encoder / decoder


Type:

Square of key:
  A D F G X
A
D
F
G
X

Key:



Have you counted? - like and share









ADFGX/ADFVGX cipher


The ADFGX / ADFVGX cipher is a simple substitution cipher used by German troops during the First World War for communication on the battlefield. In fact, this cipher was a development of the ADFGX cipher. Its operation is based on a modified Polybius chessboard and a single transposition. As a result of encrypting the plaintext, we obtain a ciphertext containing the letters A, D, F, G, V and X. They were selected in such a way that they differ significantly from each other when transmitting them using the Morse code. This was to reduce the risk of errors when sending or receiving messages.

It was invented by Colonel Frtiz Nebel, and put into service in March 1918.

Let's assume that we want to encrypt the message "Secret message" (the original version of the cipher allowed to encrypt letters of the English alphabet, but the letters I and J were not distinguished). At the beginning, we fill the 5x5 Polyibius checkerboards with the alphabet with the changed order of letters (which is known only to the sender and recipient of the message).

A D F G X
A b t a l p
D d h o z k
F q f v s n
G g j c u x
X m r e w y

Using this table, we convert the plaintext to the corresponding ciphertext:

S  e  c  r  e  t  M  e  s  s  a  g  e
FG XF GF XD XF AD XA XF FG FG AF GA XF

Then we choose the key that will be used for further encryption and write under it, in lines, we will get the ciphertext earlier. Remember not to repeat letters in this word (possibly you can omit the repeated letters).

K E Y W O R D
F G X F G F X
D X F A D X A
X F F G A F G
A X F G X G X

The last four letters have been added so that all lines have the same number of letters. GX is "X" after encryption with the Polibius checkerboard shown earlier. The letter X at the end of our message certainly doesn't change its meaning.

In the next step, rearrange the columns with the letters above them in such a way that the latter are arranged alphabetically:

D E K O R W Y
X G F G F F X
A X D D X A F
G F X A F G F
X X A X G G F

Reading the columns, we get the ciphertext: XAGXGXFXFDXAGDAXFXFGFAGGXFFF.

In June 1918, the letter V was added, which enabled the encryption of 26 characters - the entire alphabet (I and J were separate letters) and numbers from 0 to 9.


More on: Wikipedia - ADFGVX cipher

Users of this calculator also used

Rail Fence, Zig-Zag - encoder / decoder

Rail Fence, Zig-Zag cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Rail Fence, Zig-Zag cipher.

ROT13 cipher - encoder / decoder

ROT13 cipher online encoder and decoder. Encrypt and decrypt any cipher created in a ROT13 cipher. You can use any shift and additionally a key for more precise text encoding.

Fraction calculator - subtracting fractions step by step with explanation

With the Fractions Calculator, you can subtract any two mixed numbers or proper and improper fractions.
Fractions Calculator will show you the result of operations on fractions step by step and will give you explanations of the operations performed to subtracting fractions. You will learn how to simplify fractions, how to find a common denominator, how to find the least common multiple and the greatest common divisor.

Morse code translator, encoder-decoder

With the converter, you can quickly translate any sentence into Morse code and vice versa. You can listen to the translated code, see it thanks to the light signals or, using the phone, feel it through vibration. Morse code is used nowadays mainly in amateur radio, it is also useful in many other areas of life.



Online calculator