Marian Rejewski - Solving Enigma's Wiring

Solving Enigma's Wiring

First Rejewski tackled the problem of finding the wiring of the rotors. To do this, he pioneered the use of pure mathematics in cryptanalysis. Previous methods had largely exploited linguistic patterns and the statistics of natural-language texts — letter-frequency analysis. Rejewski, however, applied techniques from group theory — theorems about permutations — in his attack on Enigma.

These mathematical techniques, combined with material supplied by Captain Gustave Bertrand, chief of French radio intelligence, enabled him to reconstruct the internal wirings of the machine's rotors and nonrotating reflector.

"The solution", writes historian David Kahn, "was Rejewski's own stunning achievement, one that elevates him to the pantheon of the greatest cryptanalysts of all time". Rejewski used a mathematical theorem that one mathematics professor has since described as "the theorem that won World War II".

Prior to receiving the French intelligence material, Rejewski had made a careful study of Enigma messages, particularly of the first six letters of messages intercepted on a single day.

For security, each message was encrypted using different starting positions of the rotors, as selected by the operator. This message setting was three letters long. To convey it to the receiving operator, the sending operator began the message by sending the message setting in a disguised form — a six-letter indicator.

The indicator was formed using the Enigma with its rotors set to a common global setting for that day, termed the ground setting, which was shared by all operators.

The particular way that the indicator was constructed, introduced a weakness into the cipher.

For example, suppose the operator chose the message setting KYG for a message. The operator would first set the Enigma's rotors to the ground setting, which might be GBL on that particular day, and then encrypt the message setting on the Enigma twice; that is, the operator would enter KYGKYG (which might come out to something like QZKBLX). The operator would then reposition the rotors at KYG, and encrypt the actual message. A receiving operator could reverse the process to recover first the message setting, then the message itself. The repetition of the message setting was apparently meant as an error check to detect garbles, but it had the unforeseen effect of greatly weakening the cipher. Due to the indicator's repetition of the message setting, Rejewski knew that, in the plaintext of the indicator, the first and fourth letters were the same, the second and fifth were the same, and the third and sixth were the same. These relations could be exploited to break into the cipher.

Rejewski studied these related pairs of letters. For example, if there were four messages that had the following indicators on the same day: BJGTDN, LIFBAB, ETULZR, TFREII, then by looking at the first and fourth letters of each set, he knew that certain pairs of letters were related. B was related to T, L was related to B, E was related to L, and T was related to E: (B,T), (L,B), (E,L), and (T,E). If he had enough different messages to work with, he could build entire sequences of relationships: the letter B was related to T, which was related to E, which was related to L, which was related to B (see diagram). This was a "cycle of 4", since it took four jumps until it got back to the start letter. Another cycle on the same day might be AFWA, or a "cycle of 3". If there were enough messages on a given day, all the letters of the alphabet might be covered by a number of different cycles of various sizes. The cycles would be consistent for one day, and then would change to a different set of cycles the next day. Similar analysis could be done on the 2nd and 5th letters, and the 3rd and 6th, identifying the cycles in each case and the number of steps in each cycle.

Using the data thus gained, combined with Enigma operators' tendency to choose predictable letter combinations as indicators (such as girlfriends' initials or a pattern of keys that they saw on the Enigma keyboard), Rejewski was able to deduce six permutations corresponding to the encipherment at six consecutive positions of the Enigma machine. These permutations could be described by six equations with various unknowns, representing the wiring within the entry drum, rotors, reflector, and plugboard.

Read more about this topic:  Marian Rejewski

Famous quotes containing the words solving and/or enigma:

    Certainly, young children can begin to practice making letters and numbers and solving problems, but this should be done without workbooks. Young children need to learn initiative, autonomy, industry, and competence before they learn that answers can be right or wrong.
    David Elkind (20th century)

    A turkey is more occult and awful than all the angels and archangels. In so far as God has partly revealed to us an angelic world, he has partly told us what an angel means. But God has never told us what a turkey means. And if you go and stare at a live turkey for an hour or two, you will find by the end of it that the enigma has rather increased than diminished.
    Gilbert Keith Chesterton (1874–1936)