In cryptography, the ADFGVX cipher was a manually applied field cipher used by the Imperial German Army during World War I. It was used to transmit messages secretly using wireless telegraphy. ADFGVX was in fact an extension of an earlier cipher called ADFGX which was first used on 1 March 1918 on the German Western Front. ADFGVX was applied from 1 June 1918 on both the Western Front and Eastern Front. Invented by the Germans signal corps officers Lieutenant Fritz Nebel (1891–1977) and introduced in March 1918 with the designation "Secret Cipher of the Radio Operators 1918" (Geheimschrift der Funker 1918, in short GedeFu 18), the cipher was a fractionating transposition cipher which combined a modified Polybius square with a single columnar transposition. The cipher is named after the six possible letters used in the ciphertext: A, D, F, G, V and X. The letters were chosen deliberately because they are very different from one another in the Morse code. That reduced the possibility of operator error. Nebel designed the cipher to provide an army on the move with encryption that was more convenient than trench codes but was still secure. In fact, the Germans believed the ADFGVX cipher was unbreakable.
Operation For the plaintext message, "Attack at once", a secret mixed alphabet is first filled into a 5 × 5 Polybius square:
i and j have been combined to make the alphabet fit into a 5 × 5 grid. By using the square, the message is converted to fractionated form:
The first letter of each ciphertext pair is the row, and the second ciphertext letter is the column, of the plaintext letter in the grid (e.g., "AF" means "row A, column F, in the grid"). Next, the fractionated message is subject to a columnar transposition. The message is written in rows under a transposition key (here "CARGO"):
C A R G O _________ A F A D A D A F G F D X A F A D D F F X G F X F
Next, the letters are sorted alphabetically in the transposition key (changing CARGO to ACGOR) by rearranging the columns beneath the letters along with the letters themselves:
A C G O R _________ F A D A A A D G F F X D F A A D D F X F F G F X
Then, it is read off in columns, in keyword order, which yields the ciphertext:
FAXDF ADDDG DGFFF AFAX AFAFX
In practice, the transposition keys were about two dozen characters long. Long messages sent in the ADFGX cipher were broken into sets of messages of different and irregular lengths to make it invulnerable to multiple anagramming. Both the transposition keys and the fractionation keys were changed daily.
ADFGVX In June 1918, an additional letter, V, was added to the cipher. That expanded the grid to 6 × 6, allowing 36 characters to be used. That allowed the full alphabet (instead of combining I and J) and the digits from 0 to 9. This mainly had the effect of considerably shortening messages containing many numbers. The cipher is based on the 6 letters ADFGVX. In the following example, the alphabet is coded with the Dutch codeword 'nachtbommenwerper'. This results in the alphabet: NACHTBOMEWRPDFGIJKLQSUVXYZ. Digits are inserted after the first occurrences of the letters A (1), B (2) to J (0). This creates the table below with the letters ADFGVX as column headings and row identifiers:
The text 'attack at 1200am' translates to this:
Then, a new table is created with a key as a heading; the following example uses 'PRIVACY' as a key, but usually much longer keys or even phrases were used.
The columns are sorted alphabetically, based on the keyword, and the table changes to this:
Then, appending the columns to each other results in this ciphertext:
DGDD DAGD DGAF ADDF DADV DVFA ADVX With the keyword, the columns can be reconstructed and placed in the correct order. When using the original table containing the secret alphabet, the text can be deciphered. This cipher might be modified by transposing the rows as well as the columns, creating a harder but improved cipher.
… excerpt ends here. Continue reading the full article.