Выбрать главу

This Enigma machine was a masterpiece of design. In use, a key pressed by the operator would connect one of 26 letter circuits, passing a current to one of 26 contacts in the encoding unit. Electrical current was then passed through three rotors, each of them wired so that the letter was changed. The turning of the rotors to make a new set of contacts each time a key was pressed meant that each letter was transposed to a different character every time. The problem is that, to decrypt the message, the receiving machine would have to feed power from the keys to mirror the original action exactly. The Enigma designers solved the problem by adding a reflector system that connected each contact to another and routed the circuit back through the three rotors. The original text could then be recovered by the receiver — but not by anyone who attempted to intercept the message en route.

Enigma’s first use

The first nation to adopt the Enigma for military use was Italy, who code named her Enigma machine Navy Cypher D. The same technology was used by the Fascist government of General Franco during the Spanish Civil War, and the Swiss called their Enigma D machine the Swiss K. An Enigma model T was manufactured for use by the Japanese. The codes for many of these were broken by Britain, France, Poland and the United States. But the Germans were becoming interested in how Enigma could be used to encode all their transmissions, and the British were anxious because they lacked the insight into what was going on, and were eager to keep up to date. Already the Enigma machines were being adapted from having three rotors to four, which made breaking the codes far more challenging.

The Germans now had the latest encryption, and they were confident that they could rely upon complete secrecy while sending orders and complex messages from central government to the armed services. The decoding problem was broken in 1928 by the Poles. Their German-language Biuro Szyfrów (Cypher Bureau) BS4, was suddenly informed that a large parcel had been sent by the German government to their legation in Warsaw. Ordinarily, it would not attract attention, but the Germans had dispatched it by unsecured freight mail and, as soon as the error was noticed, they contacted the Polish authorities urgently to check that it was being safely handled. The enquiry was passed to the Polish Customs Authority, who immediately tipped off the intelligence service that there was something crucially important in the box. As a result, the code-breakers at BS4 had a full weekend to work day and night analysing the machine and all its code protocols, before meticulously repacking it for the Monday morning. The Germans were meanwhile assured that yes, the parcel was intact, and it would be ready — perfectly packed — for collection as soon as the office opened for business. The Polish bureau now knew all they needed to know, while the Germans believed their secret was secure.

Enigma in Germany

Once the Enigma machines had received official endorsement by the German government, the German Army finally conceded that Enigma was what they required, and in 1932 they ordered the three-rotor Enigma G machines. Within two years it had been improved and was designated the Enigma I and this soon became known as the Wehrmacht (Services) Enigma. It was used throughout World War II. This new version had the addition of a plug-board which allowed the operator to exchange letters in pairs, which added greatly to the security of the codes. The machine was much smaller by this time, weighing as little as 26lb (12kg). Eventually, in 1934 the German Navy brought into use their own version, the Funkschlüssel-M or M3, and in August 1935 the Air Force adopted the Wehrmacht Enigma for their coded messages.

What they did not realize was that the Polish intelligence service was already ahead of them. One of their leading code-breakers, Marian Rejewski, had designed a top-secret machine that could be used to decode the German messages. It recreated the settings of the Enigma machine that had originally encoded the text, and allowed the operator to read the message. Rejewski called it his Bomba Kryptologiczna — the ‘cryptological bomb’.

Each operator of the Enigma machines was given a three-letter code that was regularly changed. This was sent first, to indicate to the receiver which rotor setting was to be used that day. The three letter code was repeated, so it might be PINPIN. Of course, the message was encrypted by the Enigma machine, so it came out at the other end as random characters — MXZLPD, for instance. This gave Rejewski the vital clue. The techniques to work out the way the three letters were coded were already well established, and the fact that the three letters were repeated was vital. The way the letters had changed when they were repeated let Rejewski work out exactly how the rotors had been installed.

The design of the Enigma machine was being regularly upgraded, in order to add further levels of complexity, and the number of possible combinations that the cryptographer had to try was becoming impossible to manage. A better system was needed. So, in the autumn of 1938, Rejewski designed his first decoding system; it became known to the Allies as the Bombe. In principle, it had the power of six Enigma machines working simultaneously, and allowed one cryptographer to do the work of 100 working alone. Within a year there were six Bombes working at the code-breaking station in Warsaw. It meant that one room contained decoding machines that could do the work of 600 highly trained staff.

By the time the Germans invaded the Sudetenland of Czechoslovakia on 1 October 1938, the Polish cryptographers had been decoding the German Enigma messages for over six years with complete success, and the Bombe had made the process steadily faster and more reliable. The Germans were meanwhile making the machines increasingly complex, and fitted extra rotors, along with a complex plug-board, so the task of decoding became far more complex. Nonetheless, the Poles were able to decode the messages that revealed the Germans’ next intention — to cross the strip of Polish territory that separated Germany from the Baltic enclave of Danzig. This would amount to an invasion, and war now seemed inevitable. When it became clear from the decrypted messages that the Germans were ready to invade Poland, all the decryption codes and the Enigma equipment was delivered by the Polish authorities to British Military Intelligence.

January 1939 had marked an important intelligence conference in Paris that brought together officials from the British, Polish and French intelligence services. The Poles revealed the extent of their remarkable success in routinely decoding German messages. To the British there was only one possible response — they would expand the Government Code and Cypher School (GC&CS) to take up the task of decoding of the Enigma messages. In August 1939, still before war had been declared, the Government Code and Cypher School moved into its new and expanded premises. This was in the beautiful old house of Bletchley Park, near Milton Keynes in rural Buckinghamshire. The building was equipped with a top-secret telephone exchange and a teleprinter room, with a kitchen and dining room alongside. The upper floor was occupied exclusively by the Secret Service MI6. A nearby boarding school was requisitioned to house the Commercial and Diplomatic Section, and a range of wooden huts was speedily erected in the grounds to use as the establishment increased in size. There was a water tower alongside, to supply the historic house, and a monitoring radio station code named Station X was set up at the top, so that its aerials had an unimpeded view across the open landscape. As the lengthy wires of the radio aerials might attract unwanted attention, the radio station was soon moved to nearby Whaddon.