All Topics  
Cryptanalysis of the Enigma

 
Cryptanalysis of the Enigma

   Email Print
   Bookmark   Link






 

Cryptanalysis of the Enigma



 
 
Cryptanalysis
Cryptanalysis

Cryptanalysis is the study of methods for obtaining the meaning of encrypted information, without access to the secret information which is normally required to do so....
 of the Enigma
enabled the Allies
Allies of World War II

The Allies of World War II were the countries officially opposed to the Axis powers of World War II during the World War II. Within the ranks of the Allies powers, the British Empire, the Soviet Union, and the United States of America were known as "The Big Three"....
 in World War II
World War II

World War II, or the Second World War , was a global military conflict which involved a Participants in World War II, including all of the great powers, organised into two opposing military alliances: the Allies of World War II and the Axis powers....
 to read substantial amounts of secret Morse-coded
Morse code

Morse code is a type of character encoding that transmits telegraphic information using rhythm. Morse code uses a standardized sequence of short and long elements to represent the alphanumeric, punctuation and special characters of a given message....
 radio communications of the Axis powers
Axis Powers

The Axis powers were those countries that were opposed to the Allies of World War II during World War II. The three major Axis powers - Nazi Germany, Kingdom of Italy , and Empire of Japan - were part of a military alliance on the signing of the Tripartite Pact in September 1940, which officially founded the Axis powers....
 enciphered using Enigma machine
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
s. This Allied reading yielded military intelligence
Military intelligence

Military intelligence , is a military service that uses List of intelligence gathering disciplines which informs the commanders' decision making process by providing intelligence analysis of Intelligence from a wide range of sources including forecast environmental changes , and opposing force intentions....
 which, along with that from other decrypted German radio transmissions, was given the name "Ultra
Ultra

Ultra was the name used by the United Kingdom for intelligence resulting from decryption of encrypted Nazi Germany radio communications in World War II....
."

Enigma decrypts contributed greatly to the success of Allied war efforts—in the Battle of Matapan
Battle of Cape Matapan

The Battle of Cape Matapan was a World War II naval battle fought from March 27 to March 29, 1941. The Cape Matapan is on the southwest coast of Greece's Peloponnesus peninsula....
 in March 1941; in reversing the early disastrous course of the Battle of the Atlantic
Second Battle of the Atlantic

The Battle of the Atlantic was the longest continuous military campaignof World War II,running from 1939 through the defeat of Nazism Nazi Germany in 1945, and was at its height from mid-1940 through to the end of 1943....
, beginning in the latter part of 1941; in frustrating Rommel's
Erwin Rommel

Erwin Johannes Eugen Rommel , was perhaps the most famous Germany Generalfeldmarschall of World War II. He was the commander of the Afrika Korps and became known for the skillful military campaigns he waged on behalf of the Wehrmacht in North Africa....
 efforts to capture Cairo
Cairo

Cairo , which means "the triumphant", is the Cairo and largest city of Egypt.It is the most populous metropolitan area in Egypt and is also one of the most populous in the world....
 in 1942; in the invasion of Sicily
Sicily

Sicily is an Autonomous regions with special statute of Italy. Of all the regions of Italy, Sicily covers the largest land area at 25,708 km? and currently has just over five million inhabitants....
 (1943) and mainland Italy
Italy

Italy , officially the Italian Republic , is a country located on the Italian Peninsula in Southern Europe and on the two largest islands in the Mediterranean Sea, Sicily and Sardinia....
 (1943–44); in the planning and execution of Operation Overlord
Operation Overlord

Operation Overlord was the code name for the invasion of Western Front during World War II by Western Allies forces. The operation began with the Normandy Landings on 6 June 1944 , among the largest amphibious warfares ever conducted....
 (the Allied invasion of France, 1944); and in the subsequent drive to and through Germany
Germany

Germany , officially the Federal Republic of Germany , is a country in Central Europe. It is bordered to the north by the North Sea, Denmark, and the Baltic Sea; to the east by Poland and the Czech Republic; to the south by Austria and Switzerland; and to the west by France, Luxembourg, Belgium, and the Netherlands....
.






Discussion
Ask a question about 'Cryptanalysis of the Enigma'
Start a new discussion about 'Cryptanalysis of the Enigma'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Cryptanalysis
Cryptanalysis

Cryptanalysis is the study of methods for obtaining the meaning of encrypted information, without access to the secret information which is normally required to do so....
 of the Enigma
enabled the Allies
Allies of World War II

The Allies of World War II were the countries officially opposed to the Axis powers of World War II during the World War II. Within the ranks of the Allies powers, the British Empire, the Soviet Union, and the United States of America were known as "The Big Three"....
 in World War II
World War II

World War II, or the Second World War , was a global military conflict which involved a Participants in World War II, including all of the great powers, organised into two opposing military alliances: the Allies of World War II and the Axis powers....
 to read substantial amounts of secret Morse-coded
Morse code

Morse code is a type of character encoding that transmits telegraphic information using rhythm. Morse code uses a standardized sequence of short and long elements to represent the alphanumeric, punctuation and special characters of a given message....
 radio communications of the Axis powers
Axis Powers

The Axis powers were those countries that were opposed to the Allies of World War II during World War II. The three major Axis powers - Nazi Germany, Kingdom of Italy , and Empire of Japan - were part of a military alliance on the signing of the Tripartite Pact in September 1940, which officially founded the Axis powers....
 enciphered using Enigma machine
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
s. This Allied reading yielded military intelligence
Military intelligence

Military intelligence , is a military service that uses List of intelligence gathering disciplines which informs the commanders' decision making process by providing intelligence analysis of Intelligence from a wide range of sources including forecast environmental changes , and opposing force intentions....
 which, along with that from other decrypted German radio transmissions, was given the name "Ultra
Ultra

Ultra was the name used by the United Kingdom for intelligence resulting from decryption of encrypted Nazi Germany radio communications in World War II....
."

Enigma decrypts contributed greatly to the success of Allied war efforts—in the Battle of Matapan
Battle of Cape Matapan

The Battle of Cape Matapan was a World War II naval battle fought from March 27 to March 29, 1941. The Cape Matapan is on the southwest coast of Greece's Peloponnesus peninsula....
 in March 1941; in reversing the early disastrous course of the Battle of the Atlantic
Second Battle of the Atlantic

The Battle of the Atlantic was the longest continuous military campaignof World War II,running from 1939 through the defeat of Nazism Nazi Germany in 1945, and was at its height from mid-1940 through to the end of 1943....
, beginning in the latter part of 1941; in frustrating Rommel's
Erwin Rommel

Erwin Johannes Eugen Rommel , was perhaps the most famous Germany Generalfeldmarschall of World War II. He was the commander of the Afrika Korps and became known for the skillful military campaigns he waged on behalf of the Wehrmacht in North Africa....
 efforts to capture Cairo
Cairo

Cairo , which means "the triumphant", is the Cairo and largest city of Egypt.It is the most populous metropolitan area in Egypt and is also one of the most populous in the world....
 in 1942; in the invasion of Sicily
Sicily

Sicily is an Autonomous regions with special statute of Italy. Of all the regions of Italy, Sicily covers the largest land area at 25,708 km? and currently has just over five million inhabitants....
 (1943) and mainland Italy
Italy

Italy , officially the Italian Republic , is a country located on the Italian Peninsula in Southern Europe and on the two largest islands in the Mediterranean Sea, Sicily and Sardinia....
 (1943–44); in the planning and execution of Operation Overlord
Operation Overlord

Operation Overlord was the code name for the invasion of Western Front during World War II by Western Allies forces. The operation began with the Normandy Landings on 6 June 1944 , among the largest amphibious warfares ever conducted....
 (the Allied invasion of France, 1944); and in the subsequent drive to and through Germany
Germany

Germany , officially the Federal Republic of Germany , is a country in Central Europe. It is bordered to the north by the North Sea, Denmark, and the Baltic Sea; to the east by Poland and the Czech Republic; to the south by Austria and Switzerland; and to the west by France, Luxembourg, Belgium, and the Netherlands....
. Evidence suggests that Soviet strategy and tactics against Nazi Germany
Nazi Germany

Nazi Germany and the Third Reich are the colloquial English names for Germany under the regime of Adolf Hitler and the Nazi Party , which established a Totalitarianism dictatorship that existed from 1933 to 1945....
 likewise benefited from Ultra intelligence, conveyed to the Soviets by a variety of conduits.

The Enigma machine
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
s were a family of portable cipher
Cipher

In cryptography, a cipher is an algorithm for performing encryption and decryption — a series of well-defined steps that can be followed as a procedure....
 machines with rotor-based
Rotor machine

In cryptography, a rotor machine is an electro-mechanical device used for encryption and decrypting secret messages. Rotor machines were the cryptographic state-of-the-art for a brief but prominent period of history; they were in widespread use in the 1930s–1950s....
 scrambler
Scrambler

In telecommunications, a scrambler is a device that transposes or inverts signals or otherwise encodes a message at the transmitter to make the message unintelligible at a receiver not equipped with an appropriately set descrambling device....
s. Various German armed and secret services and civilian agencies used Enigma in somewhat different ways, and at various times made changes to their procedures for operating Enigma. The greatest differences in operating procedures were between those of the German Navy (Reichsmarine
Reichsmarine

The Reichsmarine was the name of the German Navy during the Weimar Republic and first two years of Nazi Germany. It was the naval branch of the Reichswehr, existing from 1918 to 1935....
 and Kriegsmarine
Kriegsmarine

The Kriegsmarine was the name of the German Navy between 1935 and 1945, during the Nazi Germany regime, superseding the Reichsmarine, and the Kaiserliche Marine of World War I....
)
and those of other services and agencies.

The German plugboard-equipped Enigma that would be the Third Reich's principal crypto-system
Cryptography

Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering....
 was reconstructed, with the aid of French-supplied intelligence material, by the Polish General Staff's Cipher Bureau
Biuro Szyfrów

The Biuro Szyfr?w was the interwar Polish General Staff's agency charged with both cryptography and Cryptography#Terminology .What came to be known as the "Cipher Bureau" was created in May 1919, during the Polish-Soviet War ....
 in December 1932, on the eve of Adolf Hitler
Adolf Hitler

Adolf Hitler was an Austrian-born Germany politician and the leader of the National Socialist German Workers Party , popularly known as the Nazi Party....
's rise to power in Germany in January 1933. From then until the outbreak of World War II
World War II

World War II, or the Second World War , was a global military conflict which involved a Participants in World War II, including all of the great powers, organised into two opposing military alliances: the Allies of World War II and the Axis powers....
, the Poles held a monopoly of decryption of this Enigma model. As war drew near, at a Warsaw
Warsaw

Warsaw is the Capital and World's largest cities of Poland. It is located on the Vistula River roughly from both the Baltic Sea coast and the Carpathian Mountains....
 conference on 25 July 1939 the Polish Cipher Bureau initiated the French and British into its Enigma-breaking techniques and technology, thus greatly broadening the Allied (Polish, French, and particularly British and American) foundations for wartime decryption of German Enigma-enciphered communications.

General principles

Analysis of a monoalphabetic substitution cipher
Substitution cipher

In cryptography, a substitution cipher is a method of encryption by which units of plaintext are replaced with ciphertext according to a regular system; the "units" may be single letters , pairs of letters, triplets of letters, mixtures of the above, and so forth....
 is relatively easy, so long as a message is long enough to provide a reasonably representative count of the letters of the alphabet. The resultant frequency count
Frequency analysis

In cryptanalysis, frequency analysis is the study of the letter frequencies or groups of letters in a ciphertext. The method is used as an aid to breaking classical ciphers....
 can then be compared with the known letter frequencies
Letter frequencies

The frequency of letters in text has often been studied for use in cryptography, and frequency analysis in particular. No exact letter frequency distribution underlies a given language, since all writers write slightly differently....
 of the language in which the message is written.

In the 15th and 16th centuries, in Europe, the idea of a polyalphabetic substitution cipher
Polyalphabetic cipher

A polyalphabetic cipher is any cipher based on substitution cipher, using multiple substitution alphabets. The Vigen?re cipher is probably the best-known example of a polyalphabetic cipher, though it is a simplified special case....
 was developed, among others by the French diplomat Blaise de Vigenère
Blaise de Vigenère

Blaise de Vigen?re was a France diplomat and cryptographer. The Vigen?re cipher is so named due to the cipher being incorrectly attributed to him in the 19th century....
 (1523-96). For some three centuries, the Vigenère cipher
Vigenère cipher

The Vigen?re cipher is a method of encryption alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of Polyalphabetic cipher....
 was considered to be completely secure (le chiffre indéchiffrable—"the indecipherable cipher"). Nevertheless, Charles Babbage
Charles Babbage

Charles Babbage, Royal Society was an England mathematician, philosopher, inventor and mechanical engineer who originated the concept of a programmable computer....
 (1791–1871) and later, independently, Friedrich Kasiski
Friedrich Kasiski

Major Friedrich Wilhelm Kasiski was a Prussian infantry Officer , cryptographer and archeologist. Kasiski was born in Schlochau, West Prussia ....
 (1805–81) succeeded in breaking this cipher.

The cryptographic key
Key (cryptography)

In cryptography, a key is a piece of information that determines the functional output of a cryptographic algorithm or cipher. Without a key, the algorithm would have no result....
 for the Vigenère cipher consists of a word or phrase that is repeated many times to cover the length of the message. The key's letters indicate which line of the Vigenère square
Vigenère cipher

The Vigen?re cipher is a method of encryption alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of Polyalphabetic cipher....
 is used to encipher each letter of the plaintext
Plaintext

In cryptography, plaintext is the information which the sender wishes to transmit to the receiver. Before the computer era, plaintext simply meant text in the language of the communicating parties....
 so as to produce the ciphertext. It was this repetition that allowed Babbage and Kasiski to achieve their breaks.

During World War I
World War I

World War I, or the First World War , was a global military conflict which involved the Great powers, organized into two opposing military alliances: the Allies of World War I and the Central Powers....
, inventors in several countries realized that a purely random key sequence, containing no repetitive pattern, would make a polyalphabetic substitution, in principle, unbreakable. This led to the development, in several countries, of rotor cipher machines such as Arthur Scherbius
Arthur Scherbius

Arthur Scherbius was a German electrical engineer who patented an invention for a mechanical cipher machine, later sold as the Enigma machine....
' Enigma
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
.

Rotor cipher machines alter each character in the plaintext
Plaintext

In cryptography, plaintext is the information which the sender wishes to transmit to the receiver. Before the computer era, plaintext simply meant text in the language of the communicating parties....
 to produce the ciphertext, by means of a scrambler comprising a set of rotors that alter the electrical path from character to character, between the input device (in Enigma, a keyboard) and the output device (in Enigma, a lampboard). This constant altering of the electrical pathway produces a very long period before the pattern—the key sequence
Key (cryptography)

In cryptography, a key is a piece of information that determines the functional output of a cryptographic algorithm or cipher. Without a key, the algorithm would have no result....
 or substitution alphabet—repeats.

Although Kerckhoffs' principle
Kerckhoffs' principle

In cryptography, Kerckhoffs' principle was stated by Auguste Kerckhoffs in the 19th century: a cryptosystem should be secure even if everything about the system, except the cryptographic key, is public knowledge....
 states that a cryptosystem
Cryptosystem

There are two different meanings of the word cryptosystem. One is used by the cryptographic community, while the other is the meaning understood by the public....
 should be secure even when everything about the system except the key
Key (cryptography)

In cryptography, a key is a piece of information that determines the functional output of a cryptographic algorithm or cipher. Without a key, the algorithm would have no result....
 is known to the enemy, the internal wiring of machines such as Enigma has so many possibilities that an important aspect of breaking them is deducing their logical structure.

The presence of repetition or of guessable elements in either the key or the message are the weaknesses that allow cryptanalysts to seek patterns that can enable them to break a cipher
Cipher

In cryptography, a cipher is an algorithm for performing encryption and decryption — a series of well-defined steps that can be followed as a procedure....
. Finding such weak points in Enigma encipherment, before and during World War II
World War II

World War II, or the Second World War , was a global military conflict which involved a Participants in World War II, including all of the great powers, organised into two opposing military alliances: the Allies of World War II and the Axis powers....
, led to sustained Allied decryption of German Enigma ciphers.

Strengths of Enigma

Enigmamachinelabeled
Enigma Rotor Set
The Enigma was potentially an excellent system. It was designed to defeat analytic
Cryptanalysis

Cryptanalysis is the study of methods for obtaining the meaning of encrypted information, without access to the secret information which is normally required to do so....
 techniques by continually changing the substitution alphabet through the use of a scrambler comprising three—in some cases, four—rotor
Enigma rotor details

This article contains technical details about the rotors of the Enigma machine.Understanding the way the machine encrypts requires taking into account the current position of each rotor, the ring setting and its internal wiring....
s.

Like other rotor cipher-machines, Enigma generated a polyalphabetic substitution cipher with a long period. Given three single-notched rotors, the period was 16,900 ( 26 × 25 × 26). Such a long period prevented any detectable repetition in the enciphering sequence.

The mechanism of the Enigma consisted of a keyboard connected to an entry plate
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
 or wheel (German: Eintrittswalze), at the right hand end of the scrambler (usually via a plugboard in the military versions). This contained a set of 26 contacts that made electrical connection with the set of 26 spring-loaded pins on the right hand rotor. The left hand side of each rotor in turn made electrical connection with the rotor to its left, and in the case of the leftmost, with the reflector
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
 (German: Umkehrwalze). The reflector provided a set of thirteen paired connections to return the current back through the scrambler rotors, and eventually to the lampboard.

There are 403 trillion trillion (26 factorial
Factorial

In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
) ways that the connections within each scrambler rotor—and between the entry plate and the keyboard or plugboard or lampboard—can be arranged. For the reflector plate there are a mere six billion (13 factorial) options to its possible wirings.

Whenever a key on the keyboard was pressed, the stepping motion
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
 was actuated, moving the rightmost rotor on one position. Because it advanced with each key pressed it is sometimes called the 'fast' rotor. When the notch on that rotor engaged with a pawl
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
 on the middle rotor, that too moved. And similarly with the leftmost ('slow') rotor.

Each scrambler rotor could be set to any one of its 26 starting positions (any letter of the alphabet). For the Enigma machines with only three rotors, their sequence in the scrambler could be selected from the six that are possible.

Possible rotor sequences
Left Middle Right
I II III
I III II
II I III
II III I
III I II
III II I


Later Enigma models added a variable alphabet ring like a tyre around the core of each rotor, that specified which letter was opposite the notch that caused the next wheel to advance. Later still, the three rotors that were in use were selected from a set of five or, in the case of the German Navy, eight rotors.

Most military Enigmas also featured a plugboard
Plugboard

A plugboard, or control panel, was a device used to direct the operation of unit record equipment, some cypher machines, and some early computers....
 (German: Steckerbrett) which exchanged letters reciprocally, so that if A was plugged to G then A would become G and G would become A either on input from the keyboard to the scrambler, or on output from the scrambler to the lamp panel.

Key setting

The machine featured the operational convenience of being symmetrical (or self-inverse
Inverse function

In mathematics, if ƒ is a function from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip from A to B to A returns each element of the initial set to itself....
). This meant that decipherment
Decipherment

Decipherment is the analysis of documents written in ancient languages, where the language is unknown, or knowledge of the language has been lost....
 worked in the same way as encipherment
Encryption

In cryptography, encryption is the process of transforming information using an algorithm to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key ....
—when the ciphertext was typed in, the sequence of lamps that lit yielded the plaintext
Plaintext

In cryptography, plaintext is the information which the sender wishes to transmit to the receiver. Before the computer era, plaintext simply meant text in the language of the communicating parties....
. This of course required that the deciphering machine's plugboard and scrambler rotors be set identically to those of the enciphering machine.

In order to ensure that this would be the case, the complex ground-key setting (German: Grundstellung) was distributed to all users of a network
Telecommunications network

A telecommunications network is a wiktionary:Network of telecommunications links and nodes arranged so that messages may be passed from one part of the network to another over multiple links and through various nodes....
 by means of "setting sheets" in a codebook
Codebook

In cryptography, a codebook is a document used for implementing a code . A codebook contains a lookup table for coding and decoding; each word or phrase has one or more strings which replace it....
. These setting-sheets changed the ground key regularly (at first monthly or weekly, but soon daily and even, toward war's end in some networks, several times a day). The setting sheets specified for each date: the three rotors to be used and their positions (German: Walzenlage), the ring positions (German: Ringstellung) and the plugboard connections (German: Steckerverbindungen ).

Lastly, for each message, the transmitting operator would send the key specific to that message so that the receiving operator could align his rotors appropriately. This was called the "indicator" for that message and was the initial letters that would be visible through the windows on Enigma's top plate. This key setting was itself enciphered on the machine using an "indicator setting". At first this was specified on the setting sheets, but later on it was selected by the operator or, in the case of the German Navy, by a more complicated and secure procedure. Because of the danger that poor radio reception might lead to the message key being garbled, it was, until May 1940, sent twice.

Security properties

Despite the undoubted strengths of Enigma when used properly, if the settings for one day (or whatever period was represented by each row of the setting sheet) were established, the rest of the messages for that day could be decrypted.

The various Enigma models provided different levels of security. The presence of a plugboard (Steckerbrett) substantially increased the security of the encipherment. Each pair of letters that were connected together by a plugboard lead, were referred to as "stecker partners", and the letters that remained unconnected were said to be "self-steckered". In general, the unsteckered Enigma was used for commercial and diplomatic traffic and could be broken relatively easily using hand methods, while attacking versions with a plugboard was much more difficult. The British read unsteckered Enigma messages sent during the Spanish Civil War
Spanish Civil War

The Spanish Civil War was a major conflict in Spain that started after an attempted coup d'?tat by a group of Spanish Army generals, supported by the conservative Spanish Confederation of the Autonomous Right , Carlist groups and the fascistic Falange, against the government of the Second Spanish Republic, then under the leadership of pr...
, and also some Italian traffic enciphered early in World War II
Cryptanalysis of the Enigma

Cryptanalysis of the Enigma enabled the Allies of World War II in World War II to read substantial amounts of secret Morse code radio communications of the Axis powers enciphered using Enigma machines....
.

The Enigma machine did, however, have major weaknesses that proved helpful to cryptanalysts. First, a letter could never be encrypted to itself (with the exception of the early models A and B, which lacked a reflector. This property was of great help in using cribs
Crib (cryptanalysis)

Crib, in cryptanalysis, is a sample of known plaintext or Bombe#cribs. The term originated at Bletchley Park, the British World War II decryption operation....
—short sections of plaintext thought to be somewhere in the ciphertext—and could be used to eliminate a crib in a particular position. For a possible location, if any letter in the crib matched a letter in the ciphertext at the same position, the location could be ruled out; at Britain's Government Code and Cipher School (GCCS) at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
, this was termed a "crash". It was this feature that the British mathematician
Mathematician

A mathematician is a person whose primary area of study and/or research is the field of mathematics....
 and logic
Logic

Logic is the study of the principles of valid demonstration and inference. Logic is a branch of philosophy, a part of the classical Trivium . The word derives from Greek language ?????? , fem....
ian Alan Turing
Alan Turing

Alan Mathison Turing, Order of the British Empire, Fellow of the Royal Society was a British mathematician, logician and Cryptanalysis....
 would exploit in designing the British bombe
Bombe

In the history of cryptography, the bombe was an electromechanical device used by United Kingdom cryptologists to help break Germany Enigma machine-generated signals during World War II....
.

A second Enigma weakness was that the plugboard connections were reciprocal, so that if A was plugged to N, then N likewise became A. It was this property that inspired mathematician Gordon Welchman
Gordon Welchman

Gordon Welchman was a British mathematician and World War II codebreaker at Bletchley Park....
 at Bletchley Park to propose that a "diagonal board" be introduced into the bombe, substantially reducing the number of rotor settings that the bombe had to try.

A third weakness for many Enigma models was that the rightmost rotor turned a constant number of places before the next rotor turned.

A number of the officially-specified procedures for using Enigma also provided avenues for attack. Thus, for machines where there was a choice of more rotors than there were slots for them, a rule stipulated that no rotor should be in the same slot in the scrambler as it had been for the immediately preceding configuration.

Similarly, the plugboard-setup rules forbade a letter being connected to an adjacent one on the alphabet.

Once detected, these constraints reduced the number of alternatives that needed to be tried.

In any case, the Germans' specified Enigma-operating procedures, and good cryptologic practice, were not adhered to by all Enigma operators.

It has been suggested by some who worked at breaking Enigma at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 that the Enigma should have been unbreakable in practice, had its operating procedures been better thought out and had its operators been less ill-disciplined. Postwar debriefings of German cryptographic specialists, conducted as part of project TICOM
TICOM

TICOM was a project formed in World War II by the United States to find and seize German Military espionage assets, particularly cryptographic ones....
, tend to support this view—the Germans were well aware that Enigma was theoretically breakable, but felt that the resources required to mount a pure brute-force attack on the system would require too much effort to be worthwhile.

Had they considered the potential consequences of widespread poor operator procedure, and acted to correct the situation, it is likely that breaking Enigma on a regular basis would have proven impractical. To war's end, the Germans continued making improvements to the system, though they considered it to be for all practical purposes unbreakable.

Polish breakthrough

Palac Saski
In 1928 the German Army (German: Heer
Heer

Heer [IPA: he?] is German language for "army". Generally, its use as "army" is not restricted to any particular country, so "das britische Heer" would mean "the British army"....
), Navy (German: Reichsmarine
Reichsmarine

The Reichsmarine was the name of the German Navy during the Weimar Republic and first two years of Nazi Germany. It was the naval branch of the Reichswehr, existing from 1918 to 1935....
 later Kriegsmarine
Kriegsmarine

The Kriegsmarine was the name of the German Navy between 1935 and 1945, during the Nazi Germany regime, superseding the Reichsmarine, and the Kaiserliche Marine of World War I....
 ) and Airforce (German: Luftwaffe
Luftwaffe

is a generic German term for an air force. It is also the official name for two of the four historic German air forces, the Wehrmacht air arm founded in 1933 and disbanded in 1946; and the current Bundeswehr air arm founded in 1956....
) began using a 3-rotor Enigma with a 6-cable plugboard. British, French and American cryptanalysts had no success in cracking this Enigma version. In Poland, however, the threat from Germany was much greater, and the Polish Cipher Bureau (Biuro Szyfrów) in Warsaw continued work on it. On 1 September 1932, a 27-year-old Polish mathematician, Marian Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
, joined the Bureau along with two somewhat younger fellow Poznan University mathematics graduates, Henryk Zygalski
Henryk Zygalski

Henryk Zygalski was a Poland mathematician and cryptologist who worked at breaking German Enigma machine before and during World War II....
 and Jerzy Rózycki
Jerzy Rózycki

Jerzy Witold R?zycki was a Polish mathematician and cryptologist who worked at breaking German Enigma machine ciphers....
. In December that year, the Polish Cipher Bureau received from Captain Gustave Bertrand
Gustave Bertrand

Gustave Bertrand was a French military intelligence officer who made a vital contribution to the decryption, by Poland's Biuro Szyfr?w, of German Enigma machine ciphers, beginning in December 1932....
 of French Military Intelligence two German documents and two pages of Enigma daily keys (for September and October 1932) that had been obtained by a French military intelligence
Military intelligence

Military intelligence , is a military service that uses List of intelligence gathering disciplines which informs the commanders' decision making process by providing intelligence analysis of Intelligence from a wide range of sources including forecast environmental changes , and opposing force intentions....
 agent, a German code-named Rex, from an agent who worked at Germany's Cipher Office in Berlin (Hans Thilo-Schmidt, whom the French code-named Asché). The documents were entitled "Gebrauchsanweisung für die Chiffriermaschine Enigma" ("Instructions for Using the Enigma Cipher Machine") and "Schlüsselanleitung für die Chiffriermaschine Enigma" ("Keying Instructions for the Enigma Cipher Machine").

The tables of daily keys, Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
 would later recall, were "a great help to me, because thanks to [them] the number of unknowns in the equations [that Rejewski had set up] was reduced, and I was able to solve [the] equations, and... as I was sitting there writing, the internal connections just came out in the form... of letters or numbers, I don't recall [which]—the internal connections ["wiring"] for the first [rotor], the one... on the far right, which always... revolved at every depression of a key."

Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
 told Richard Woytak
Richard Woytak

Richard Andrew Woytak was an United States historian who specialized in Europe history of the Interbellum and World War II. He was the author of the 1979 book, On the Border of War and Peace: History of Polish Intelligence Services and Diplomacy in 1937-1939, and the Origins of the Ultra....
 that

about 1932, when he first broke Enigma
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
]] Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
 thus made one of the most important breakthroughs in cryptologic history by using elementary group theory
Group theory

In mathematics and abstract algebra, group theory studies the algebraic structures known as group .The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring , field , and vector spaces can all be seen as groups endowed with additional operations and axioms....
 to solve the Enigma wiring and rotor settings. His method made it possible to derive the rotor settings independently of the plugboard connections.

A crucial inspired guess on Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
's part was that the connections between the keyboard and the entry ring were in alphabetical order, rather than in the order of the keys on a German typewriter keyboard: QWERTZUIO... — the order that was used in the commercial Enigma. Britain's Dilly Knox
Dilly Knox

Alfred Dillwyn 'Dilly' Knox was a classics scholar at King's College, Cambridge, and a United Kingdom codebreaker. He was a member of the World War I Room 40 codebreaking unit, and later at Bletchley Park he worked on the cryptanalysis of Enigma machine until his death in 1943....
 was astonished when he learned from the Poles, in Warsaw in July 1939, that the entry-ring order was so simple.

After Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
 had reconstructed the plugboard-equipped Enigma machine, the Poles were able to decrypt a substantial portion of German Enigma traffic through December 1938. (Thereafter they continued reading Enigma, but—due to changes in encipherment procedures—a smaller volume.)

At the time, the setting sheets specified the rotor positions in the machine, the ring settings, the plugboard connections, and the rotor settings as they appeared through the three windows on top of the machine.

The message indicator was a 6-letter sequence comprising the three letters of the message key, enciphered twice using the initial rotor position given in the ground setting (e.g., RAO). If the 3-letter message key chosen by the operator was IHL, he would encipher this after having set the rotors to RAO. The resultant ciphertext, say OTUNSD, would be transmitted, followed by the message, enciphered using message key IHL. The receiving operator would use the ground setting RAO to decipher the first six letters, yielding IHLIHL—assuming that there had been no distortion or "garbling" in the transmission or reception of the Morse. (It was the possibility of garbling that had led to the procedure of repeating the message key. This repetition was, however, a major security weakness that was exploited by the Poles.) The receiving operator would then decipher the message, using message key IHL.

In the example of OTUNSD being the ciphertext of the message key, it is known that the first letter O and the fourth letter N represent the same letter, enciphered three positions apart in the scrambler sequence. Similarly with T and S in the second and fifth positions, and U and D in the third and sixth. Rejewski exploited this fact by collecting a sufficient set of messages enciphered with the same ground key and assembling three tables for the 1,4, the 2,5, and the 3,6 pairings. Each of these might look something like the following:
First letter ABCDEFGHIJKLMNOPQRSTUVWXYZ
Third letter XFEARBSLHQIGCVDZWKMNJUOYTP
A path from one first letter to the corresponding third letter, then from that letter as the first letter to its corresponding third letter, and so on until the first letter recurs, traces out a cycle group
Cycle graph (algebra)

In group theory, a sub-field of abstract algebra, a group cycle graph illustrates the various cyclic groups of a group and is particularly useful in visualizing the structure of small finite groups....
. The above table contains four cycle groups.
Cycle group starting at A (12 links) (A, X, Y, T, N, V, U, J, Q, W, O, D, A)
Cycle group starting at B (2 links) (B, F, B)
Cycle group starting at C (10 links) (C, E, R, K, I, H, L, G, S, M, C)
Cycle group starting at P (2 links) (P, Z, P)


The letters in these cycle groups are changed by the plugboard
Plugboard

A plugboard, or control panel, was a device used to direct the operation of unit record equipment, some cypher machines, and some early computers....
 settings but, importantly, their patterns (in this example, four groups with 12, 10, 2 and 2 links) are not. This reduces the number of possibilities from 10,000 trillion to 105,456 (the number of possible rotor settings).

This method stopped working for German naval Enigma messages on 1 May 1937, when the indicator procedure was changed substantially, making it very much more difficult to break.

Cyclometer


The Poles set about creating a catalog of these cycle patterns. Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
 about 1934 or 1935 devised a machine to facilitate this task, called a "cyclometer
Cyclometer

The cyclometer was a cryptology device designed, "probably in 1934 or 1935," by Marian Rejewski of the Polish Cipher Bureau's German section to facilitate decryption of German Enigma machine ciphertext....
," which "comprised two sets of rotors... connected by wires through which electric current could run. Rotor N in the second set was three letters out of phase with respect to rotor N in the first set, whereas rotors L and M in the second set were always set the same way as rotors L and M in the first set."

Preparation of the "card catalog," using the cyclometer, was, says Rejewski, "laborious and took over a year, but when it was ready, obtaining daily keys was a question of [some fifteen] minutes."

On 1 November 1937, however, the Germans changed the Enigma reflector
Reflector (cipher machine)

A reflector, in cryptology, is a component of some rotor machine, such as the Enigma machine, that sends electrical impulses that have reached it from the machine's rotor machines, back in reverse order through those rotors....
, necessitating the production of a new catalog—"a task which [says Rejewski] consumed, on account of our greater experience, probably somewhat less than a year's time."

On 15 September 1938 (the day that British Prime Minister Neville Chamberlain
Neville Chamberlain

Arthur Neville Chamberlain was a British Conservative Party politician and Prime Minister of the United Kingdom from 1937 to 1940. Chamberlain is best known for appeasement foreign policy, in particular regarding his signing of the Munich Agreement in 1938, conceding the Sudetenland region of Czechoslovakia to Germany, and for his "containm...
 flew to the conference that led to the Munich Agreement
Munich Agreement

The Munich Agreement was an agreement regarding the Sudetenland, which were areas along borders of Czechoslovakia, mainly inhabited by Czech Germans....
) the indicator procedure was changed. It now comprised a 9-letter sequence. The setting, as stated in the setting sheet, no longer specified the initial rotor positions to be used. Instead the operator chose three letters, which were transmitted in clear as the first three of nine letters. These gave the key for setting the rotors for the next six letters, which constituted the 3-letter message key sent twice. This meant that the cycle-pattern method would no longer work.

Perforated sheets


To decrypt Enigma messages, use was now made of a perforated-sheet apparatus
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
 that was devised about October 1938 by Henryk Zygalski
Henryk Zygalski

Henryk Zygalski was a Poland mathematician and cryptologist who worked at breaking German Enigma machine before and during World War II....
 and is therefore often called "Zygalski sheets
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
" or "Netz". This method depended on a message key's repetition, but also relied on the situation in which a repeated letter of the key was enciphered to the same letter of ciphertext as it had been three letters previously.

Thus, if an intercepted message had the same first and fourth, second and fifth, or third and sixth letters, it was known that some scrambler settings could be eliminated. This phenomenon was, in effect, a zero-length cycle, and details of such cycles would have been available in the catalog.

These occurrences were called "samiczki" (in English, "females"—a term later used at Bletchley Park). If the first six letters of the ciphertext were SZVSIK, this would be termed a 1-4 female; if WHOEHS, a 2-5 female; and if ASWCRW, a 3-6 female.
Zygalski Sheets (perforated Sheets)
The probability of any message containing at least one female was about one in eight. Some ten females would be collected from a day's messages and subjected to the sheets apparatus
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
.

There was a set of 26 sheets
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
 for each of the six possible sequences for inserting the three rotors into the scrambler. Each sheet related to the starting position of the left (slowest-moving) rotor. The 26 × 26 matrix represented the 676 possible starting positions of the middle and left rotors and was duplicated horizontally and vertically: a–z, a–y. The sheets were punched with holes in the positions that would allow a female to occur. Rejewski writes about how the perforated-sheets device was operated:

Polish bomba


As an alternative to the Zygalski sheets
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
, which required about ten "females", a method was developed that used only three. This required an exhaustive (brute-force
Brute force attack

In cryptanalysis, a brute force attack is a method of defeating a cryptographic scheme by systematically trying a large number of possibilities; for example, a large number of the possible key s in a key space in order to decrypt a message....
) analysis of the 105,456 possible rotor settings.

If done by hand, such an analysis would have represented a vast human effort. To facilitate it, Rejewski in about October 1938 invented an electro-mechanical device that was dubbed the
bomba kryptologiczna
Bomba (cryptography)

The bomba, or bomba kryptologiczna was a special-purpose machine designed about October 1938 by Poland Biuro Szyfr?w cryptology Marian Rejewski to break Germany Enigma machine ciphers....
 or "cryptologic bomb". Each
bomba contained six sets of Enigma rotors for the six positions of the repeated three-letter key.

In mid-November 1938, six Polish
bomby (one for each rotor arrangement) were ready, and reconstruction of daily keys went on apace.

Rejewski has written about the device:

On 15 December 1938, the German Army increased the complexity of its Enigma operating procedures. Previously only three rotors had been in use, and their sequence in the slots was changed daily. Now two additional rotors were introduced; three of the five would be in use at any given time. This increased the number of possible rotor arrangements in the scrambler by a factor of ten.

Other German agencies likewise received the two new rotors at the same time. Had all these organizations used the same new operating procedures as the Army, it would have nullified any chance of the Poles continuing to decrypt Enigma. However, until 1 July 1939, just two months before Germany invaded Poland, the
Sicherheitsdienst
Sicherheitsdienst

The Sicherheitsdienst was primarily the intelligence service of the Schutzstaffel and the NSDAP. The organization was the first Nazi Party intelligence organization to be established and was often considered a "sister organization" with the Gestapo, which the SS had infiltrated heavily after 1934....
(S.S. Security Service), continued using its machines in the old way—like the Wehrmacht
Wehrmacht

Wehrmacht was the name of the unified armed forces of Germany from 1935 to 1945. It consisted of the Heer , the Kriegsmarine and the Luftwaffe ....
prior to 15 September 1938.

The Cipher Bureau immediately exploited this incoordination between the Army and the S.D. and by about the turn of the year had reconstructed the wirings in rotors IV and V. Nevertheless, even with Rejewski's cryptologic bomb and Zygalski's perforated sheets
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
, the new keying procedure and the increased number of rotors posed some major problems. These were exacerbated when, on New Year's Day 1939, the Germans increased the number of plug connections in the plugboard. Previously, from 1 October 1936, the number of plug connections had been variable, ranging between five and eight. Now, from 1 January 1939, the number of plug connections was increased to between seven and ten.

As Rejewski wrote in a 1979 critique of appendix 1, volume 1 (1979), of the official history of British Intelligence in the Second World War:

World War II


Italian Naval Enigma


During the Spanish Civil War
Spanish Civil War

The Spanish Civil War was a major conflict in Spain that started after an attempted coup d'?tat by a group of Spanish Army generals, supported by the conservative Spanish Confederation of the Autonomous Right , Carlist groups and the fascistic Falange, against the government of the Second Spanish Republic, then under the leadership of pr...
, Italy, under Italian Fascism
Italian Fascism

The term Italian Fascism denotes the Authoritarianism Nationalism Fascismo political movement that ruled Kingdom of Italy from 1922 until 1943 under leader Benito Mussolini....
, was on the side of Francisco Franco
Francisco Franco

Francisco Paulino Hermenegildo Te?dulo Franco y Bahamonde, Salgado y Pardo de Andrade , commonly known as Francisco Franco or Francisco Franco y Bahamonde was the dictator and Head of State of Spain from October 1936, and de facto regent of the nominally restored Kingdom of Spain from 1947 until his death in 1975....
's Nationalists
Spanish Civil War

The Spanish Civil War was a major conflict in Spain that started after an attempted coup d'?tat by a group of Spanish Army generals, supported by the conservative Spanish Confederation of the Autonomous Right , Carlist groups and the fascistic Falange, against the government of the Second Spanish Republic, then under the leadership of pr...
. The Italian Navy used a version of Enigma that did not have a plugboard. In 1937 Dillwyn 'Dilly' Knox
Dilly Knox

Alfred Dillwyn 'Dilly' Knox was a classics scholar at King's College, Cambridge, and a United Kingdom codebreaker. He was a member of the World War I Room 40 codebreaking unit, and later at Bletchley Park he worked on the cryptanalysis of Enigma machine until his death in 1943....
, a gifted British cryptanalyst veteran of World War I
World War I

World War I, or the First World War , was a global military conflict which involved the Great powers, organized into two opposing military alliances: the Allies of World War I and the Central Powers....
 and the cryptanalytical activities of Room 40
Room 40

In the history of cryptography, Room 40 was the room in the Admiralty most identified with the British cryptography effort during World War I cryptography....
, managed to break this cipher, using a technique that he called 'buttoning up' to discover the rotor wirings and another that he called "rodding" to break messages. This relied heavily on cribs
Crib (cryptanalysis)

Crib, in cryptanalysis, is a sample of known plaintext or Bombe#cribs. The term originated at Bletchley Park, the British World War II decryption operation....
 and on crossword expertise in Italian, as it yielded a limited number of spaced-out letters at a time.

When in 1940 Dilly Knox wanted to establish whether the Italian Navy were still using the same machine, he instructed his assistants to use rodding to see whether the crib
PERX (per being Italian for 'for' and X being used to indicate a space between words) worked for the first part of the message. After three months there was no success, when Mavis Laver, a 19-year-old student, found that rodding produced PERS for the first four letters. She then (against orders) tried beyond this and obtained PERSONALE (Italian for 'personal'). This confirmed that the Italians were indeed using the same machines and procedures.

The subsequent breaking of Italian Naval Enigma ciphers led to substantial Allied successes. The cipher-breaking was disguised by sending a reconnaissance aircraft
Surveillance aircraft

Surveillance aircraft are military aircraft used for monitoring enemy activity, usually carrying no armament. This article concentrates on military aircraft used in this role, though a major civilian aviation activity is reconnaissance and ground surveillance for cartography, traffic monitoring, science, and geological survey....
 to the known location before attacking the warship, so that the Italians assumed that this was how they had been discovered. The British Royal Navy
Royal Navy

The Royal Navy of the United Kingdom is the oldest of the British Armed Forces . From the mid-18th century until well into the 20th century, it was the most powerful navy in the world, playing a key part in establishing the British Empire as the dominant world power from 1815 until the early 1940s....
's victory at the Battle of Matapan
Battle of Cape Matapan

The Battle of Cape Matapan was a World War II naval battle fought from March 27 to March 29, 1941. The Cape Matapan is on the southwest coast of Greece's Peloponnesus peninsula....
 (March 1941) was considerably helped by Ultra
Ultra

Ultra was the name used by the United Kingdom for intelligence resulting from decryption of encrypted Nazi Germany radio communications in World War II....
 intelligence obtained from Italian Naval-Enigma signals.

Polish disclosures


On 15 March 1939, German forces marched into Bohemia
Bohemia

History...
 and Moravia
Moravia

Moravia is a Historical regions of Central Europe in the east of the Czech Republic, one of the former Czech lands. It takes its name from the Morava River, Central Europe which rises in the northwest of the region....
. On 31 March Britain and France pledged their support for Poland in the event of any action that threatened her independence. Then, on 27 April, Germany withdrew from the German-Polish Non-Aggression Pact
German-Polish Non-Aggression Pact

The German-Polish Non-Aggression Pact was an international treaty between Nazi Germany and the Second Polish Republic signed on January 26, 1934....
 of January 1934. The Polish General Staff, realizing the pace and direction of changes in the European political situation, decided in mid-1939 to share their work on Enigma decryption with their western allies. Rejewski later wrote:

At a conference in Warsaw on 26 July 1939, the Poles revealed to the French and British that they had broken Enigma and pledged to give each a Polish-reconstructed Enigma, along with details of their Enigma-solving techniques and equipment, including Zygalski's "perforated sheets
Perforated sheets

The method of perforated sheets was a cryptology technique used by the Poland Biuro Szyfr?w before and during World War II, and during the war also by British cryptologists at Bletchley Park, to decryption messages cipher on German Enigma machines....
" and Rejewski's "cryptologic bomb
Bomba (cryptography)

The bomba, or bomba kryptologiczna was a special-purpose machine designed about October 1938 by Poland Biuro Szyfr?w cryptology Marian Rejewski to break Germany Enigma machine ciphers....
". Dilly Knox
Dilly Knox

Alfred Dillwyn 'Dilly' Knox was a classics scholar at King's College, Cambridge, and a United Kingdom codebreaker. He was a member of the World War I Room 40 codebreaking unit, and later at Bletchley Park he worked on the cryptanalysis of Enigma machine until his death in 1943....
 was a member of the British delegation. He commented on the fragility of the Polish system's reliance on the repetition in the indicator because it might, "at any moment be cancelled".

The two "Enigma doubles" were sent to Paris, whence Gustave Bertrand
Gustave Bertrand

Gustave Bertrand was a French military intelligence officer who made a vital contribution to the decryption, by Poland's Biuro Szyfr?w, of German Enigma machine ciphers, beginning in December 1932....
 brought one to London for the British. He turned it over at Victoria Station
Victoria station

Victoria station may refer to:Railway stations:* London Victoria station, a National Rail and London Underground station* Manchester Victoria station...
, as he was to recall in his
Enigma, to Stewart Menzies
Stewart Menzies

Major General Sir Stewart Graham Menzies, Order of the Bath, Order of Saint Michael and Saint George, Distinguished Service Order, Military Cross was Chief of MI6, United Kingdom Secret Intelligence Service, during and after World War II....
 of Britain's Secret Intelligence Service
Secret Intelligence Service

The Secret Intelligence Service , colloquially known as MI6 is the United Kingdom's external intelligence agency, part of the country's United Kingdom intelligence community....
.

Until then, German military Enigma traffic had defeated the French and British, and they had faced the disturbing prospect that German radio communications would remain undecipherable during the coming war. As British cryptologist Gordon Welchman
Gordon Welchman

Gordon Welchman was a British mathematician and World War II codebreaker at Bletchley Park....
 has written,

During the German invasion of Poland in September 1939, key Cipher Bureau personnel were evacuated southeast and—after the Soviets invaded eastern Poland on 17 September—into Romania, on the way destroying their cryptological equipment and documentation. Eventually, crossing Yugoslavia and still-neutral Italy, they reached France. There, at
PC Bruno
PC Bruno

PC Bruno was a Poland-France intelligence station that operated outside Paris during World War II, from October 1939 until June 9, 1940. It decryption German ciphers, most notably messages enciphered on the Enigma machine....
outside Paris
Paris

Paris is the Capital of France and the country's largest city. It is situated on the river Seine, in northern France, at the heart of the ?le-de-France Regions of France ....
, on 20 October 1939 they resumed work on German Enigma ciphers, continuing it in the subsequent Battle of France
Battle of France

In World War II, the Battle of France, also known as the Fall of France, was the Germany invasion of France and the Low Countries, executed from 10 May 1940, which ended the Phoney War....
.

As late as December 1939, when Lt. Col. Gwido Langer
Gwido Langer

Lt. Col. Karol Gwido Langer was chief of the Polish General Staff's Biuro Szyfr?w from at least mid-1931....
, chief of the Polish Cipher Bureau, and French Air Force Captain Henri Braquenié
Henri Braquenié

Henri Braqueni? was an interbellum and World War II France Air Force officer and cryptanalyst.Captain Braqueni? attended, with French Major Gustave Bertrand and another French Army officer, the January 9-January 10, 1939, Paris meeting of French, Polish and British military intelligence officers convened to discuss progress on decryption o...
, visited London and Bletchley Park, the British asked that the Polish cryptologists be turned over to them. Langer, however, took the position that the Polish team must remain where the Polish Armed Forces
Polish Armed Forces

Wojsko Polskie is the national fighting defence force of Poland. The name has been used since the early 19th century, but can also be applied to earlier periods....
 were being re-formed—on French
France

France , officially the French Republic , is a country whose Metropolitan France is located in Western Europe and that also comprises various Overseas departments and territories of France....
 soil. Actually, the mathematician-cryptologists might have reached Britain much earlier than they eventually would (that is, the two who were still alive) in 1943; but in Bucharest
Bucharest

Bucharest is the capital city, industrial and commercial centre of Romania. It is the largest city in Romania, located in the southeast of the country, at , and lies on the banks of the D?mbovita River....
, Romania, when they had gone to the British Embassy, they had been brushed off by preoccupied British diplomats.

Some personnel of the Cipher Bureau's German section who had worked with Enigma, and most of the workers at the AVA Radio Company that had built Enigma doubles and cryptologic equipment for the German section, had remained in Poland. Some were interrogated by the Gestapo
Gestapo

The was the official secret police of Nazi Germany. Under the overall administration of the Schutzstaffel , it was administered by the Reichssicherheitshauptamt and was considered a dual organization of the Sicherheitsdienst and also a suboffice of the Sicherheitspolizei ....
, but no one gave away the secret of Polish mastery of Enigma decryption.

PC Bruno
PC Bruno

PC Bruno was a Poland-France intelligence station that operated outside Paris during World War II, from October 1939 until June 9, 1940. It decryption German ciphers, most notably messages enciphered on the Enigma machine....
and Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 worked together closely from late 1939, communicating via a telegraph teletype line secured by the use of Enigma
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
 (!). The French would close their Enigma-enciphered messages with an appreciative "
Heil Hitler!"

In January 1940, the British cryptologist Alan Turing
Alan Turing

Alan Mathison Turing, Order of the British Empire, Fellow of the Royal Society was a British mathematician, logician and Cryptanalysis....
 spent several days at
PC Bruno
PC Bruno

PC Bruno was a Poland-France intelligence station that operated outside Paris during World War II, from October 1939 until June 9, 1940. It decryption German ciphers, most notably messages enciphered on the Enigma machine....
conferring with his Polish colleagues. He had brought the Poles "Zygalski sheets" that had been produced at Bletchley Park by John Jeffreys using Polish-supplied information, but which were not working. It turned out that the wirings in Enigma rotors IV and V that Rejewski had worked out, had been copied down wrongly. Correcting this error allowed the Poles to make, on 17 January 1940, the first break into wartime Enigma traffic—that from 28 October 1939.

During this period, until the collapse of France in June 1940, ultimately 83 percent of the Enigma keys that were found, were solved at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
, the remaining 17 percent at
PC Bruno
PC Bruno

PC Bruno was a Poland-France intelligence station that operated outside Paris during World War II, from October 1939 until June 9, 1940. It decryption German ciphers, most notably messages enciphered on the Enigma machine....
. Rejewski comments:

The inter-Allied cryptologic collaboration prevented duplication of effort and facilitated discoveries. Before fighting had started in Norway
Norway

Norway , officially the Kingdom of Norway, is a constitutional monarchy in Northern Europe that occupies the western portion of the Scandinavian Peninsula....
 in April 1940, the Polish-French team solved an uncommonly hard three-letter code
Code (cryptography)

In cryptography, a code is a method used to transform a message into an obscured form, preventing those who do not possess special information, or key , required to apply the transform from understanding what is actually transmitted....
 used by the Germans to communicate with fighter and bomber squadrons and for exchange of meteorological data between aircraft and land. The code had first appeared in December 1939, but the Polish cryptologists had been too preoccupied with Enigma to give the code much attention. With the German assault on the west impending, however, the breaking of the
Luftwaffe
Luftwaffe

is a generic German term for an air force. It is also the official name for two of the four historic German air forces, the Wehrmacht air arm founded in 1933 and disbanded in 1946; and the current Bundeswehr air arm founded in 1956....
code took on mounting urgency. The trail of the elusive code (whose system of letters changed every 24 hours) led back to Enigma. The first clue came from the British, who had noticed that the code's letters did not change randomly. If "a" changed to "p," then elsewhere "p" was replaced by "a." The British made no further headway, but the Poles realized that what was manifesting was Enigma's "exclusivity principle" that they had discovered in 1932. The Germans' carelessness meant that now the Poles, having after midnight solved Enigma's daily setting, could with no further effort also read the Luftwaffe signals.

The Germans, just before opening their 10 May 1940 offensive in the west that would trample Belgium
Belgium

* A small German-speaking Community of Belgium exists in eastern Wallonia. Belgium's linguistic diversity and related political and cultural conflicts are reflected in the history of Belgium and a complex Communities and regions of Belgium....
, Luxemburg and Holland
Holland

Holland is a name in common usage given to two regions in the western part of Netherlands. The name 'Holland' is also often mistakenly used to refer to the whole of The Netherlands....
 in order to reach the borders of France, once again changed their procedure for enciphering message keys, rendering the Zygalski sheets "completely useless" and temporarily defeating the joint British-Polish cryptologic attacks on Enigma. According to Gustave Bertrand
Gustave Bertrand

Gustave Bertrand was a French military intelligence officer who made a vital contribution to the decryption, by Poland's Biuro Szyfr?w, of German Enigma machine ciphers, beginning in December 1932....
, "It took
superhuman day-and-night effort to overcome this new difficulty: on May 20, decryption resumed."

At this stage, to break the Germans' Enigma ciphers, the cooperating British at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 and the Poles in France would have to rely on exploiting the operator weaknesses described below (particularly the cillies and the Herivel tip), as well as on some others, such as the non-uniformly-placed notches in rotor alphabet-rings that caused the rotor to the left to move one space when the first rotor reached its particular letter-notch.

After the Franco-German armistice, the Polish cryptological team resumed work in France's southern "Free Zone" and in French Algeria, at constant risk of discovery and imprisonment or worse. When Germany took over Vichy France in November 1942, the Poles once again had to flee. The Cipher Bureau's chiefs, Colonel Gwido Langer
Gwido Langer

Lt. Col. Karol Gwido Langer was chief of the Polish General Staff's Biuro Szyfr?w from at least mid-1931....
 and Major Maksymilian Ciezki
Maksymilian Ciezki

Maksymilian Ciezki was the head of the German section of the Poland Biuro Szyfr?w in the 1930s, during which time the Bureau decrypted German Enigma messages....
, and some of the technical staff were captured by the Germans but, despite extensive interrogation, preserved the secret of Enigma decryption.

Mathematicians Marian Rejewski
Marian Rejewski

Marian Adam Rejewski was a Poland mathematician and cryptography who in 1932 solved the plugboard-equipped Enigma machine, the main cipher device used by Germany....
 and Henryk Zygalski
Henryk Zygalski

Henryk Zygalski was a Poland mathematician and cryptologist who worked at breaking German Enigma machine before and during World War II....
, after a perilous odyssey that took them across France, into a Spanish prison, to Portugal and at last by ship to Gibraltar, finally made it to Britain. (The third mathematician, Jerzy Rózycki
Jerzy Rózycki

Jerzy Witold R?zycki was a Polish mathematician and cryptologist who worked at breaking German Enigma machine ciphers....
, had perished in the sinking of a passenger ship while returning in 1942 to southern France from a tour of duty in Algeria.) In Britain, Rejewski and Zygalski were inducted into the Polish Army as privates (they would eventually be promoted to lieutenant) and put to work breaking German
SS and SD
Sicherheitsdienst

The Sicherheitsdienst was primarily the intelligence service of the Schutzstaffel and the NSDAP. The organization was the first Nazi Party intelligence organization to be established and was often considered a "sister organization" with the Gestapo, which the SS had infiltrated heavily after 1934....
hand ciphers at a Polish signals facility in Boxmoor
Boxmoor

File:St. John's Road, Boxmoor.jpgBoxmoor, or Boxmoor Village, is a district of Dacorum in Hertfordshire, England. It is now part of Hemel Hempstead....
. They were not invited to work on Enigma at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
.

Operating shortcomings

Apart from some less-than-ideal inherent characteristics of the Enigma, in practice the machine's greatest weakness was the way that it was used. Errors by German Army and Air Force Enigma operators were common, and the Poles had become very experienced at exploiting even very subtle cryptographic mistakes made by the Germans.

One blatant mistake made by them, Rejewski recalled, had been the inclusion, in an early Enigma manual, of a genuine plaintext
Plaintext

In cryptography, plaintext is the information which the sender wishes to transmit to the receiver. Before the computer era, plaintext simply meant text in the language of the communicating parties....
 and its genuine ciphertext, together with the genuine message key. When Rejewski was given this in December 1932, it "made [his reconstruction of the Enigma machine
Enigma machine

The Enigma machine is any of a family of related electro-mechanical rotor machines that have been used to generate ciphers for the encryption and decryption of secret messages....
] somewhat easier."

Another German mistake described by Rejewski was the use of easily-guessed keys such as
"AAA" or "BBB", or sequences that reflected the layout of the Enigma keyboard, such as "three [typing] keys that stand next to each other [o]r diagonally [from each other]..." At Britain's Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 these would become known as "cillies"—either the name of a German operator's girlfriend, used as a key, or a burlesque of "sillies," for some of the foolish things that operators did despite regulations to the contrary; or because one of the first message settings that was worked out at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
, using cillies, was
"CIL" (the word "cilli" then being a cross between "CIL" and "silly," describing Bletchleyites' view of such German practices).

Equally silly of the Germans, from a cryptologic perspective, was repeatedly using, in messages, the same stereotypical expressions—what Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 later would term "crib
Crib (cryptanalysis)

Crib, in cryptanalysis, is a sample of known plaintext or Bombe#cribs. The term originated at Bletchley Park, the British World War II decryption operation....
s": the same standard salutations, titles and addresses. Thus, for example, Rejewski recalled that "The last phase in reconstructing daily keys was finding the settings of the rings [on the rotors]. In that phase, we relied on the fact that the greater number of messages began with the letters
"ANX"—German for "to", followed by "X" as a spacer.

Another important error perpetrated by German operators, was anticipated by John Herivel
John Herivel

John W. Herivel is a British science historian and former World War II codebreaker at Bletchley Park.As a codebreaker, Herivel is remembered chiefly for the discovery of what was soon dubbed the Herivel tip or Herivelismus....
 soon after his arrival at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 in January 1940, although it did not occur until after the changes of 10 May that year, during the period of close collaboration between the British, French and Poles. Some operators, after setting their Enigmas in the starting position and closing the metal lid, were selecting as the message key (
Spruchschlüssel) the letters that were visible in the glass windows. These letters were often identical with, or close to, the settings on the Enigma's internal rings. As a result, they were effectively sending the ring settings almost in clear
Plaintext

In cryptography, plaintext is the information which the sender wishes to transmit to the receiver. Before the computer era, plaintext simply meant text in the language of the communicating parties....
. This was called "Herivelismus" or the "Herivel tip". During the first part of 1940, this meant that the French duty cryptologist could, at a few minutes past midnight, read
Wehrmacht signals at the same time as their intended recipients.

One operator was in the habit of using the positions of the rotors at the end of one message (or one quite close to it), as the indicator setting for the next message.

Later in the war, a German responsible for preparing settings sheets, re-used some of the columns of wheel orders, ring settings or plugboard connections from previous months. The resulting analytical short-cut was christened at Bletchley Park "Parkerismus" in honour of Reg Parker, who had, through his meticulous record-keeping, spotted this phenomenon.

Crib-based decryption

The term "crib
Crib (cryptanalysis)

Crib, in cryptanalysis, is a sample of known plaintext or Bombe#cribs. The term originated at Bletchley Park, the British World War II decryption operation....
" was used at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 to denote any known plaintext or suspected plaintext
Bombe

In the history of cryptography, the bombe was an electromechanical device used by United Kingdom cryptologists to help break Germany Enigma machine-generated signals during World War II....
 at some point in an enciphered message. This cryptanalytic approach was thus a type of known-plaintext attack
Known-plaintext attack

The known-plaintext attack is an attack model for cryptanalysis where the attacker has samples of both the plaintext and its encryption version and is at liberty to make use of them to reveal further secret information such as Cryptographic key and Code book....
. A large part of the Polish successes had relied on the repetition within the indicator; as soon as Alan Turing
Alan Turing

Alan Mathison Turing, Order of the British Empire, Fellow of the Royal Society was a British mathematician, logician and Cryptanalysis....
 moved to Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
, initially joining Dilly Knox
Dilly Knox

Alfred Dillwyn 'Dilly' Knox was a classics scholar at King's College, Cambridge, and a United Kingdom codebreaker. He was a member of the World War I Room 40 codebreaking unit, and later at Bletchley Park he worked on the cryptanalysis of Enigma machine until his death in 1943....
 in the research section, he set about seeking methods that did not rely on this weakness, as they anticipated, correctly, that the Germans might not continue it for long.

The Poles had used an early form of crib-based decryption in the days when only six leads were used on the plugboard, leaving 14 letters self-steckered. The technique became known as the "Forty Weepy" method for the following reason. When, on the basis of external evidence, a message was thought to be a continuation of a previous message, the plaintext would start with "
FORT" (from Fortsetzung, meaning "continuation") followed by the time of the first message. At this time numerals were represented by the letters on the top row of the Enigma keyboard.
Top row of the Enigma keyboard and the numerals they represented
QWERTZUIO
123456789
(Zero was represented by P)
To indicate that a letter or a string of letters represented numbers, a letter Y was placed either side of them. So, "continuation of message sent at 2330" was represented as "
FORTYWEEPY".

Britain's Government Code and Cipher School (GCCS), before its move to Bletchley Park, had realized the value of recruiting mathematicians and logicians to work in codebreaking teams. Turing, a Cambridge University mathematician with an interest in cryptology and in machines for implementing logical operations—and who was regarded by many as a genius—had started work for GCCS on a part-time basis in 1938. Gordon Welchman
Gordon Welchman

Gordon Welchman was a British mathematician and World War II codebreaker at Bletchley Park....
, another Cambridge mathematician, had also received initial training in 1938, and both reported to Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 on 4 September 1939, the day after Britain declared war on Germany.

One fundamental feature of Enigma that was of enormous help to cryptanalysts was the fact that the reflector (a patented feature of Enigma machines) guaranteed that no letter could be enciphered as itself. Cryptologists combined an awareness of this fact with knowledge of cribs. With such a combination of probable plaintext fragment and the fact that no letter could be enciphered as itself, a corresponding ciphertext fragment could often be tested by trying every possible alignment of the crib against the ciphertext, a procedure known as
crib-dragging. Of the possible guesses, some would turn out to be true plaintext-ciphertext pairs. This provided a clue to message settings. Crib-dragging allowed the elimination of possible crib positions. Comparing one crib that appeared quite frequently, "Keine besondere Ereignisse" (literally, "No special occurrences"—perhaps better translated as "Nothing to report"), with a section of ciphertext might produce the following, where the red cells represent "crashes", the co-occurrence of the same letter in the crib and the ciphertext:
Exclusion of possible positions for the crib "Keine besondere Ereignisse"
CiphertextOHJYPDOMQNJCOSGAHLEIHYSOPJSMIU
Position 1 KEINEBESONDEREEREIGNISSE  
Position 2 KEINEBESONDEREEREIGNISSE  
Position 3 KEINEBESONDEREEREIGNISSE  
Positions 1 and 3 for the crib are impossible because of matching ciphertext letters. Position 2 is a possibility.
Crib-dragging was only one aspect of the processes of breaking a key. Derek Taunt
Derek Taunt

Derek Roy Taunt was a United Kingdom mathematician who worked as a codebreaker during World War II at Bletchley Park.Taunt attended Enfield Grammar School, then the City of London School ....
, a Bletchley Park cryptanalyst, has written that the three cardinal personal qualities that were in demand were (1) a creative imagination, (2) a well-developed critical faculty, and (3) a habit of meticulousness. The use of the bombes allowed the rotor order, the rotor core starting positions and the stecker partner for a chosen letter to be discovered. However, considerable manual cryptanalytic work was required to design "menus" for the bombes, to test their various "stops" and to work out the remaining stecker partners (plugboard connections).

Sources of cribs

"Cribs" were a fundamental part of the British approach to breaking Enigma.

Mavis Lever, a member of Dilly Knox
Dilly Knox

Alfred Dillwyn 'Dilly' Knox was a classics scholar at King's College, Cambridge, and a United Kingdom codebreaker. He was a member of the World War I Room 40 codebreaking unit, and later at Bletchley Park he worked on the cryptanalysis of Enigma machine until his death in 1943....
's team, recalled an occasion when there was an extraordinary message.

Some Enigma operators used "form letters" for daily reports, notably weather reports, in which case the same crib might be used every day. One individual regularly reported that he had "Nothing to report."

In another common operational error, an entire source message (e.g., a weather forecast intended for submarines) would be re-sent after a change of settings. This gave additional advantage to the cipher-breakers.

When a captured, interrogated German revealed that Enigma operators had been instructed to encipher numbers by spelling them out, Alan Turing
Alan Turing

Alan Mathison Turing, Order of the British Empire, Fellow of the Royal Society was a British mathematician, logician and Cryptanalysis....
 reviewed decrypted messages and determined that the number “
eins” ("one") appeared in 90% of messages. He automated the crib process, creating the Eins Catalogue, which assumed that “eins” was encoded at all positions in the plaintext
Plaintext

In cryptography, plaintext is the information which the sender wishes to transmit to the receiver. Before the computer era, plaintext simply meant text in the language of the communicating parties....
. The catalogue included every possible rotor position, starting position, and key setting.

British bombe

Bombe Wh
Alan Turing, chief of Hut Eight (Naval Enigma) at Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
, and Gordon Welchman
Gordon Welchman

Gordon Welchman was a British mathematician and World War II codebreaker at Bletchley Park....
, head of Hut Six, made important contributions to efficient Enigma-breaking.

It was on cribs that the British bombe, designed by Alan Turing and Gordon Welchman, relied. Assuming that a triple loop were found, e.g.
abc, this meant that, with a crib, plaintext letter a was mapped to cipher b, plain b to c, and plain c to cipher a again within a short distance (ideally, plain: abc, cipher: bca). Now the rotor mechanisms of three Enigmas were assembled serially in-line and set to the original rotor positions, with their offset (here, 1 step each) accordingly. Then a corresponding wire closed loop was obtained. This could be detected with lamps connected to the rotor contacts. The lamp in the wire loop would stay dark. Now the rotor systems were turned synchronously. If only one lamp stayed dark because of the one wire loop, the Steckerfeld (plug field) could be quickly calculated, and the positions with all lamps lit rejected. This typically happened several times in the 17,576 possible rotor settings.

German Naval Enigma

Alan Turing
Alan Turing

Alan Mathison Turing, Order of the British Empire, Fellow of the Royal Society was a British mathematician, logician and Cryptanalysis....
 decided, soon after arriving at Bletchley Park, to take responsibility for German Naval Enigma, as no one else was looking into it. That was because the superior operator discipline and procedure for conveying the daily key, rendered decryption much more difficult. Turing diagnosed the indicator system that was in use, but was unable to decrypt the traffic on a regular basis. As well as the
Kriegsmarine procedures being much more secure, the naval Enigma variant featured a set of eight rotors, from which three were selected. This meant that there were 336 possible rotor combinations, alone.

Turing's first break into naval Enigma traffic came in December 1939—into signals that had been intercepted in November 1938. For routine breaking, he needed information from German codebooks. No useful headway was made until the capture of the armed trawler
Naval trawler

A naval trawler is a boat built along the lines of a commercial trawler but fitted out for naval purposes....
 
Polares on 26 April 1940, which became known as the Narvik Pinch. Keys for April 1940, an instruction manual, and codebooks were secured. As a consequence, by June or July 1940 Hut 8 at least knew what content to expect in Kriegsmarine messages and knew the details of encipherment and decipherment procedures. However, the numerous possible rotor sequences, together with a lack of usable cribs, made the usual cryptanalytic methods almost useless.

Turing therefore developed "Banburismus
Banburismus

Banburismus was a cryptology process invented by Alan Turing at Bletchley Park in England during the Second World War. It was used by Bletchley Park's Hut 8 to help break German Kriegsmarine messages enciphered on an Enigma machine....
," a method using Bayesian statistics to derive a bombe menu from the message settings rather than the messages themselves. In doing so, Hut 8 would identify at least the rightmost rotor being used in the cipher that day. If the cryptologists were lucky, they managed to identify the rightmost and middle rotors, leaving only six wheel orders to be run on the bombes.

Later in the war, British cryptologists learned to fully exploit a serious security lapse associated with German weather reports: they were broadcast from weather ships to Germany in lower-level ciphers, easy to decrypt, then retransmitted to U-boat
U-boat

U-boat is the anglicized#Loanwords version of the German language word , itself an abbreviation of Unterseeboot , and refers to military submarines operated by Germany, particularly in World War I and World War II....
s at sea in Enigma, thus furnishing Bletchley Park
Bletchley Park

Bletchley Park, also known as Station X, is an estate located in the town of Bletchley, in Buckinghamshire. Since 1967, Bletchley has been part of Milton Keynes, England....
 with regular cribs. This was crucial to Bletchley's attacks on the U-boat four-rotor Enigma that was introduced in 1942.

Enigma-cipher material was captured at sea. The first such capture occurred in February 1940, when rotors VI and VII, whose wiring was then unknown, were captured from the
U-33. On 7 May 1941 the Royal Navy captured a German weather ship, together with cipher equipment and codes. Shortly afterward the Royal Navy did it again. And two days later the U-110
German submarine U-110

U-110 may refer to one of the following Germany submarines:* SM U-110, a German Type Mittel U submarine launched in 1917 and that served in the World War I until sunk on 15 March 1918...
was captured, complete with Enigma machine, settings book, operating manual and other information. As a result, Naval Enigma became readable directly through the end of June. From then on, Banburismus
Banburismus

Banburismus was a cryptology process invented by Alan Turing at Bletchley Park in England during the Second World War. It was used by Bletchley Park's Hut 8 to help break German Kriegsmarine messages enciphered on an Enigma machine....
 allowed it to be read fairly continuously until, in mid-1943, newer, faster bombes rendered Banburismus unnecessary.

In addition to
U-110, naval Enigma machines or settings books were captured from a total of seven U-boats and eight German surface ships, including U-boats U-559 (1942) and U-505 (1944), two weather trawlers, and a small vessel (the Krebs) captured during a raid on the Lofoten Islands off Norway.

Other schemes were dreamt up but not used, including Operation Ruthless
Operation Ruthless

Operation Ruthless was the name of an intrepid deception operation devised by the United Kingdom Admiralty during World War II in a desperate attempt to gain access to an Enigma machine encryption machine....
 by Ian Fleming
Ian Fleming

Ian Lancaster Fleming was an English literature author and journalist. Fleming is best remembered for creating the character of James Bond and chronicling his adventures in twelve novels and nine short stories....
 (author of the James Bond
James Bond

James Bond 007 is a fictional character created in 1953 by writer Ian Fleming, who featured him in twelve novels and two short story collections....
 novels—who was a Lieutenant Commander in Naval Intelligence), who suggested that a captured German bomber follow a departing bombing raid on Britain and be crashed into the sea near a German recovery vessel, hoping that the plane's crew would be rescued. The British crew would all be fluent German-speakers and would wear German Air Force uniforms. They would be armed and aim to capture the ship's cryptographic materials, including an Enigma. Alan Turing
Alan Turing

Alan Mathison Turing, Order of the British Empire, Fellow of the Royal Society was a British mathematician, logician and Cryptanalysis....
 and Peter Twinn
Peter Twinn

Peter Frank George Twinn was a British mathematician, World War II codebreaker and entomologist....
 were very disappointed when this operation was canceled.

American bombe

In order to solve Naval Enigma, both Britain and the U.S., but particularly the U.S., produced four-wheel bombes that could rapidly test thousands of possible keys. The American efforts on the M4 Enigma were led by Joseph Desch
Joseph Desch

Joseph Desch was an American engineer. During World War II, he worked on the US version of the bombe, a codebreaking machine designed to help solve German Enigma machine cipher messages....
, an engineer working for the National Cash Register Corporation
NCR Corporation

NCR Corporation is a technology company specializing in products for the retail and financial sectors. Its main products are point of sale, automatic teller machines, cheque processing systems, barcode reader, and business consumables....
 at the United States Naval Computing Machine Laboratory
United States Naval Computing Machine Laboratory

The United States Naval Computing Machine Laboratory was a highly secret design and manufacturing site for code-breaking machinery located in Building 26 of the National Cash Register company in Dayton, Ohio and operated by the United States Navy during World War II....
.

German suspicions

By 1945, almost all German Enigma traffic (Wehrmacht
Wehrmacht

Wehrmacht was the name of the unified armed forces of Germany from 1935 to 1945. It consisted of the Heer , the Kriegsmarine and the Luftwaffe ....
, Kriegsmarine
Kriegsmarine

The Kriegsmarine was the name of the German Navy between 1935 and 1945, during the Nazi Germany regime, superseding the Reichsmarine, and the Kaiserliche Marine of World War I....
, Luftwaffe
Luftwaffe

is a generic German term for an air force. It is also the official name for two of the four historic German air forces, the Wehrmacht air arm founded in 1933 and disbanded in 1946; and the current Bundeswehr air arm founded in 1956....
, Abwehr
Abwehr

The Abwehr was a Germany intelligence organization from 1921 to 1944. The term Abwehr was used as a concession to Allies of World War I demands that Germany's post-World War I intelligence activities be for "defensive" purposes only....
, SD
Sicherheitsdienst

The Sicherheitsdienst was primarily the intelligence service of the Schutzstaffel and the NSDAP. The organization was the first Nazi Party intelligence organization to be established and was often considered a "sister organization" with the Gestapo, which the SS had infiltrated heavily after 1934....
, etc.) could be decrypted within a day or two, yet the Germans remained confident of its security. They openly discussed their plans and movements, handing the Allies huge amounts of information, not all of which was used effectively. For example, Rommel's actions at the Kasserine Pass were clearly foreshadowed in decrypted Enigma traffic, but the information was not properly appreciated by the Americans.

After the war, American TICOM
TICOM

TICOM was a project formed in World War II by the United States to find and seize German Military espionage assets, particularly cryptographic ones....
 project teams found and detained a considerable number of German cryptographic personnel. Among the things the Americans learned was that German cryptographers, at least, understood very well that Enigma messages might be read; they knew Enigma was not unbreakable. They just found it impossible to imagine anyone going to the immense effort required. When Abwehr
Abwehr

The Abwehr was a Germany intelligence organization from 1921 to 1944. The term Abwehr was used as a concession to Allies of World War I demands that Germany's post-World War I intelligence activities be for "defensive" purposes only....
 personnel who had worked on Fish cryptography
Fish (cryptography)

Fish was the Allied codename for any of several German teleprinter stream ciphers used during World War II. Enciphered teleprinter traffic was used between German High Command and Army Group commanders in the field, so its intelligence value was of the highest strategic value to the Allies....
 and Russian traffic were interned at Rosenheim around May 1945, they were not at all surprised that Enigma had been broken, only that someone had mustered all the resources in time to actually do it. Admiral Dönitz
Karl Dönitz

Karl D?nitz was a Germany naval Commander who served in the Kaiserliche Marine during World War I and commanded the German Navy during the second half of World War II....
 had been advised that that was the least likely of all security problems.

Since World War II

Modern computers can be used to solve Enigma, using a variety of techniques. There is even a project to decrypt some remaining messages, using distributed computing
Distributed computing

Distributed computing deals with hardware and software systems containing more than one processing element or Computer data storage element, Concurrent computing processes, or multiple programs, running under a loosely or tightly controlled regime....
.

See also

  • Tadeusz Pelczynski
    Tadeusz Pelczynski

    Tadeusz Pelczynski was a Polish Army major general , intelligence officer and chief of the General Staff's Section II ....
  • John Herivel
    John Herivel

    John W. Herivel is a British science historian and former World War II codebreaker at Bletchley Park.As a codebreaker, Herivel is remembered chiefly for the discovery of what was soon dubbed the Herivel tip or Herivelismus....


External links

  • Dayton Daily News, .
  • Dayton Codebreakers Web site,