Share on Facebook Share on Twitter Email
Answers.com

ADFGVX cipher

 

The ADFGX cipher, sometimes referred to as the ADFGVX cipher, is one of the most famous codes in the entire history of cryptography. Introduced by the Germans in World War I, it is based on an ancient idea of associating letters with positions on a grid. Variations on the code have made communication possible across the walls of prison cells, and further intricacies added through the technique of transposition have made the code unbreakable without the aid of a computer.

Greek historian Polybius (fl.c. 200 B.C.) introduced what became known as the Polybius square, a 5 x 5 grid that used the 24 letters of the Greek alphabet. Each letter had a unique position identifiable by a coordinate system that numbered the rows and columns. For example, A was one column to the right of the point of origin, and one row down, so its coordinate would be 11. In the English alphabet, two letters are combined in a single square so that the 26 letters fit into the 25-square grid. Supposing I and J are combined, then K would be at position 25—two rows down, and five squares over.

Over the centuries that followed, the Polybius square made possible a system of taps or knocks whereby prisoners could pass messages to one another across walls. Applied by groups ranging from Russian anarchists to American prisoners of war in Vietnam, the system has been described by writers as diverse as Arthur Koestler in Darkness at Noon, Aleksandr Solzhenitsyn in The Gulag Archipelago, and Senator John S. McCain in Faith of Our Fathers. It has undergone countless variations based on the needs of the users—for example, a 6 x 6 grid for the 33 letters of the Russian alphabet—but the basic principle remains the same. According to the English-language grid described earlier, for instance, K would be rendered by two rapid knocks or taps, a short break, and then five rapid knocks or taps.

The ADFGX Cipher in World War I. The ADFGX cipher, developed by German army radio officer Fritz Nebel (1891–1967), made its appearance on March 5, 1918, when the Germans used it in a wireless transmission on the western front. Instead of the numerals 1 through 5 along a side of the Polybius square, Nebel's cipher applied the letters A, D, F, G, and X, which he chose because their equivalents in Morse code were so dissimilar that confusion was unlikely. (For example, A is one dot and two dashes, while D is one dash and two dots.) Three months later, on June 1, the German army added the letter V to make a sixth row and column. The 6 x 6 grid of the ADFGVX cipher allowed the inclusion of the 10 numerals from 0 to 9, like its predecessor.

The brilliance of the ADFGX cipher lay in the fact that, unlike ordinary codes, the frequency of letters such as E was not easy to recognize. Furthermore, the code could become even more challenging by applying a system of transposition. Suppose a message is written out in ADFGVX format—that is, as a series of two-letter combinations using just those six letters. That string of letters is then placed in a matrix under the letters of a chosen keyword, such as KAISER, which an army in wartime would typically change every day, Then the letters of the keyword are placed in alphabetical order—in this case, spelling AEIKRS, with the corresponding columns moved as well. After being transposed in this manner, the message is transcribed by reading down along each column, making it impossible for anyone who does not know the keyword to translate the message.

A modern computer would be capable of unscrambling such a transmission, even in a situation involving an unknown keyword, but the Allies in World War I were initially unable to break Nebel's code. However, French artillery captain Georges-Jean Painvin (1886–1980) did succeed in deciphering the code. Though his work was good only for a single day, it enabled the allied armies to counter the German offensive of June 9, 1918.

Further Reading

Books

Haldane, Robert A. The Hidden War. New York: St. Martin's Press, 1978.

Konheim, Alan, G. Cryptography: A Primer. New York: Wiley, 1981.

Rosen, Kenneth H., and John G. Michaels. Handbook of Discrete and Combinatorial Mathematics. Boca Raton, FL: CRC Press, 2000.

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia: ADFGVX cipher
Top

In cryptography, the ADFGVX cipher was a field cipher used by the German Army during World War I. ADFGVX was in fact an extension of an earlier cipher called ADFGX. Invented by Colonel Fritz Nebel and introduced in March 1918, 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. These letters were chosen deliberately because they sound very different from each other when transmitted via Morse code. The intention was to reduce the possibility of operator error.

Contents

Operation of ADFGX

Suppose we need to send the plaintext message, "Attack at once". First, a secret mixed alphabet is filled into a 5 × 5 Polybius square, like so:

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

i and j have been combined, to make the alphabet fit into a 5 × 5 grid.

Using this square, the message is converted to fractionated form:

A  T  T  A  C  K  A  T  O  N  C  E
AF AD AD AF GF DX AF AD DF FX GF XF

Next, the fractionated message is subject to a transposition similar to (but not quite the same as) the standard columnar. We write out the message 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 X

Next, we sort the letters alphabetically in the transposition key (changing CARGO to ACGOR), 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 X

Then it is read off in columns, in keyword order, yielding the ciphertext:

FAXDF ADDDG DGFFF AFAXX AFAFX

In practice, the transposition keys were about two dozen characters long. Both the transposition keys and fractionation keys were changed daily.

ADFGVX

In June 1918, an additional letter, V, was added to the cipher. This expanded the grid to 6 × 6, allowing 36 characters to be used. This allowed the full alphabet (instead of combining I and J), plus the digits from 0 to 9. This mainly had the effect of considerably shortening messages which contained a large number of figures.

Cryptanalysis

ADFGVX was cryptanalysed by French Army Lieutenant Georges Painvin. The work was exceptionally difficult by the standards of classical cryptography, and Painvin became physically ill during it. His method of solution relied on finding messages with stereotyped beginnings, which would fractionate the same, 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 this step had been reached — all done by hand.)

This meant it was only effective during times of very high traffic — but, fortunately for the cryptanalysts, that was also when the most important messages were sent.

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 Ludendorff intended to attack. The French concentrated their forces at that point and stopped the Spring Offensive.

The ADFGX and ADFGVX ciphers are now regarded as insecure for any purpose.

Note: the claim that Painvin's breaking of the ADFGX cipher stopped the German Spring Offensive of 1918, while frequently made,[1] is disputed by some. In his 2002 review of Sophie de Lastours' book on this 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 states:

Regrettably, Sophie de Lastours subscribes to the traditional French view that the solving of a German ADFGVX-telegram by Painvin at the beginning of June 1918 was decisive for the Allied victory in the First World War because it gave timely warning of a forthcoming German offensive meant to reach Paris and to inflict a critical defeat on the Allies. However, it has been known for many years, that the German Gneisenau attack of 11 June was staged to induce the French High Command to rush in reserves from the area up north, where the Germans intended to attack later on. To achieve this, its aim had to be grossly exaggerated. This the German High Command did by spreading rumors that the attack was heading for Paris and beyond; disinformation proved effective then - and apparently still does. But the German offensive was not successful because the French had a sufficient number of reserves at hand to stop the assault and did not need to bring in additional reinforcements. Moreover, it is usually overlooked that the basic version of the ADFGVX cipher had been particularly created for the German spring offensive in 1918, meant to deal the Allies a devastating blow. It was hoped that the cipher ADFGX would protect German communications against Allied cryptographers during the assault and this is what it indeed did. Telegrams in ADFGX appeared for the first time on 5 March, the German attack started on 21 March. When Painvin presented his first solution of the code on 5 April, the German offensive had already petered out.

Other uses

Although the ADFGVX is moot technologically and cryptographically, if the cipher is taken as a predecessor for a mechanical cipher machine or a cipher implemented in software then it still remains useful. An ADFGVX style tableau has billions of variations if a 7x7 size is chosen. The resulting diagraphs can be fed into a software Enigma (that does not support enciphering numbers) analog increasing its cryptographical power. By choosing different tableaus it is possible to allow Enigma style traffic to continue to be transmitted, but making the traffic more difficult to break.

Notes

  1. ^ "Painvin's manna had saved the French" writes David Kahn in The Codebreakers - The Story of Secret Writing, 1967, ISBN 978-0-684-83130-5, Ch. 9. Kahn also details the role that Painvin's decryption of German messages played in the French response to Operation Gneisenau.

References

  • Friedman, William F. Military Cryptanalysis, Part IV: Transposition and Fractionating Systems. Laguna Hills, CA: Aegean Park Press, 1992.
  • General Solution of the ADFGVX Cipher System, J. Rives Childs, Aegean Park Press, ISBN 0-89412-284-3

External links


 
 

 

Copyrights:

Intelligence Encyclopedia. Encyclopedia of Espionage, Intelligence, and Security. Copyright © 2004 by The Gale Group, Inc. All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "ADFGVX cipher" Read more