ADFGVX cipherIn 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)[1][2] 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: 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.[3] OperationFor the plaintext message, "Attack at once", a secret mixed alphabet is first filled into a 5 × 5 Polybius square:
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.[3] Both the transposition keys and the fractionation keys were changed daily. ADFGVXIn June 1918, an additional letter, 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:
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. CryptanalysisADFGVX was cryptanalysed by French Army Lieutenant Georges Painvin, and the cipher was broken in early June 1918.[4] The work was exceptionally difficult by the standards of classical cryptography, and Painvin became physically ill during the process. His method of solution relied on finding messages with stereotyped beginnings, which would fractionate them and then form similar patterns in the positions in the ciphertext that had corresponded to column headings in the transposition table. (Considerable statistical analysis was required after that step had been reached, all done by hand.) It was thus effective only during times of very high traffic, but that was also when the most important messages were sent. However, that was not the only trick that Painvin used to crack the ADFGX cipher.[3] He also used repeating sections of ciphertext to derive information about the likely length of the key that was being used. Where the key was an even number of letters in length he knew, by the way the message was enciphered, that each column consisted entirely of letter coordinates taken from the top of the Polybius Square or from the left of the Square, not a mixture of the two. Also, after substitution but before transposition, the columns would alternately consist entirely of "top" and "side" letters. One of the characteristics of frequency analysis of letters is that while the distributions of individual letters may vary widely from the norm, the law of averages dictates that groups of letters vary less. With the ADFGX cipher, each "side" letter or "top" letter is associated with five plaintext letters. In the example above, the "side" letter "D" is associated with the plaintext letters "d h o z k", and the "top" letter "D" is associated with the plaintext letters "t h f j r". Since the two groups of five letters have different cumulative frequency distributions, a frequency analysis of the "D" letter in columns consisting of "side" letters has a distinctively different result from those of the "D" letter in columns consisting of "top" letters. That trick allowed Painvin to guess which columns consisted of "side" letters and which columns consisted of "top" letters. He could then pair them up and perform a frequency analysis on the pairings to see if the pairings were only noise or corresponding to plaintext letters. Once he had the proper pairings, he could then use frequency analysis to figure out the actual plaintext letters. The result was still transposed, but to unscramble a simple transposition was all that he still had to do. Once he determined the transposition scheme for one message, he would then be able to crack any other message that was enciphered with the same transposition key.[3] Painvin broke the ADFGX cipher in April 1918, a few weeks after the Germans launched their Spring Offensive. As a direct result, the French army discovered where Erich Ludendorff intended to attack. The French concentrated their forces at that point, which has been claimed to have stopped the Spring Offensive. However, the claim that Painvin's breaking of the ADFGX cipher stopped the German spring offensive of 1918, while frequently made,[5] is disputed by some. In his 2002 review of Sophie de Lastours' book on the subject, La France gagne la guerre des codes secrets 1914-1918, in the Journal of Intelligence History, (Journal of Intelligence History: volume 2, Number 2, Winter 2002) Hilmar-Detlef Brückner stated:
The ADFGX and ADFGVX ciphers are now regarded as insecure. References
Sources
External links |