The Spanish link in cracking the Enigma code

Discussion in 'Top Secret' started by PsyWar.Org, Mar 23, 2012.

  1. PsyWar.Org

    PsyWar.Org Archive monkey

    From BBC News today:


    The Spanish link in cracking the Enigma code
    By Gordon Corera Security correspondent, BBC News

    A pair of rare Enigma machines used in the Spanish Civil War have been given to the head of GCHQ, Britain's communications intelligence agency. The machines - only recently discovered in Spain - fill in a missing chapter in the history of British code-breaking, paving the way for crucial successes in World War II.

    A row of senior Spanish military and intelligence officers stand upright in a line in front of a long elegant table in the country's Army Museum in Toledo. In front of them are two modest, slightly battered wooden boxes that are the subject of the day's unusual and high-powered gathering.

    Inside they contain a key part of Britain's code-breaking history.

    With their lids open, the distinctive black and white keypad and rotors of an Enigma machine used to encrypt communications can be seen.

    Enigma machines, developed originally in Germany in the 1920s, were the first electromechanical encryption devices and would eventually carry the country's military communications during World War II. The cracking of that code at Bletchley Park would play a key role in shortening the war and saving countless lives.

    The story of how these machines on the table in Spain helped pave the way for Britain's historic wartime achievement is largely unknown.

    A non-commissioned officer found the machines almost by chance, only a few years ago, in a secret room at the Spanish Ministry of Defence in Madrid.

    "Nobody entered there because it was very secret," says Felix Sanz, the director of Spain's intelligence service.

    "And one day somebody said 'Well if it is so secret, perhaps there is something secret inside.' They entered and saw a small office where all the encryption was produced during not only the civil war but in the years right afterwards."

    Inside were around two dozen historic Enigma machines.

    When the Spanish Civil War began in 1936, both Hitler's Germany and Mussolini's Italy sent troops to help the nationalists under Franco. But with the conflict dispersed across the country, some means of secure communication was needed for the German Condor Legion, the Italians and the Spanish forces under Franco. As a result, a set of modified commercial Enigma machines were delivered by Germany.

    Britain had first obtained a commercial Enigma machine back in 1927, by simply purchasing one in the open in Germany. The machine was analysed and a diagnostic report written on how it worked.

    A key figure in trying to understand it was Dilly Knox, a classicist who had been working on breaking ciphers since World War I.

    He was fascinated by the machine and began studying ways in which an intercepted message might in theory be broken, even writing his own messages, encrypting them and then trying to break them himself. But there was no opportunity to actually intercept a real message since German military signals were inaudible in Britain.

    However, the signals produced by the machines sent to Spain in 1936 were audible enough to be intercepted and Knox began work.

    "Having real traffic was a godsend to him," explains Tony, the historian of GCHQ, who asks only his first name is used. Within six or seven months of having his first real code to crack, Knox had succeeded, producing the first decryption of an Enigma message in April 1937. He continued to decipher more.

    The machines used in Spain were modified versions of the commercial Enigma machine. The military machine that would be used by Germany during World War II was an order of magnitude more secure because a plugboard was attached to the front. This added a further layer of complexity and made it unreadable at first.

    While more complex military Enigma traffic had not been intercepted in Britain, the neighbouring Poles could hear it.

    They had worked on mathematical attempts to crack the code and just before World War II began, the French brokered meetings in which the Poles shared their knowledge with British code-breakers, including Dilly Knox.

    This would be a crucial step in the journey that led to the cracking of the military Enigma code at Bletchley Park during the war, and the flow of so-called "Ultra" intelligence it produced.

    The experience in Spain was a vital stepping stone.

    "It gave them the foundations and it gave them the confidence that however more complicated the German military Enigma was - and in particular the German Naval Enigma - it was a resolvable problem," explains Tony of GCHQ. "It was something that would not defeat them."

    When news of the discovery emerged a few years ago, Tony got in touch with Spanish counterparts asking if it would be possible to obtain some of the machines, and after a lengthy process the handover was completed of these two. One will be held at GCHQ, another at Bletchley Park, where it will be on public display.

    The traffic is not all one way. In return the UK handed over a number of items including a German four rotor Naval Enigma machine recovered from Flensburg in May 1945, an Enigma rotor box and related documents. The idea is that this could serve as the foundation of a display on code-making and code-breaking at the Spanish Army Museum, where the ceremony took place on Thursday morning.

    Spain's relatively new army museum is housed in the spectacular Alcazar in Toledo. Once a fortress, it was largely destroyed in a famous siege during the Spanish Civil War, before being rebuilt by Franco. In the entrance hall of the museum, the layers of history are evident with walls dating back to Roman times which were then built on in the 11th Century and after up to the present.

    The relationship between past and present was one theme emphasised by Iain Lobban of GCHQ. "Today shows there is something timeless about the practice of code-making and code-breaking," he says.

    The emergence of the Enigma machine had marked the start of the electromechanical era in encrypting communications. Previously manual ciphers could be cracked by pen and paper but with Enigma the first computers were required.

    That situation, Lobban argues, is analogous to the modern era with the advent of the internet and digital technology which is, as with the 1930s and 1940s, requiring a combination of partnerships, cutting-edge technology and human skills of the type Dilly Knox embodied.

    "The computer and the internet have combined to produce new challenges in intelligence and security which require transformational changes in our organisations if we are to continue to be as successful in the 21st Century as we were in the 20th. We must become deeply technological organisations," he told the Spanish audience on accepting the two machines.

    The emphasis on the importance of working with allies - as shown in British co-operation with Poland in 1939 - was also stressed by the Spanish.

    "In today's world it is impossible to work alone," says Mr Sanz.

    "You need friends and allies. I knock at the door of the British intelligence - all three agencies - as many occasions as I need it and I always get a response. And I hope on the occasion where the British services knock at my door, when they leave my house they leave with a sense they have been helped also."

    BBC © 2012
  2. obtwt

    obtwt Member

    Don't know if it has been discussed here before, a little bit of topic perhaps,but have you heard of the Swedish Professor of Mathematics Arne Beurling he single-handedly deciphered and reverse-engineered an early version of the Siemens and Halske T52 also known as the Geheimfernschreiber (secret teletypewriter) used by Nazi Germany in World War II for sending ciphered messages.[1] The T52 was one of the so-called "Fish cyphers", that using, transposition, created nearly one quintillion (893 622 318 929 520 960) different variations. It took Beurling two weeks to solve the problem using pen and paper. Using Beurling's work, a device was created that enabled Sweden to decipher German teleprinter traffic passing through Sweden from Norway on a cable. In this way, Swedish authorities knew about Operation Barbarossa before it occurred. Not wanting to reveal how this knowledge was attained the Swedish warning was not treated as credible by Soviets.
    This became the foundation for the Swedish National Defence Radio Establishment (FRA). The cypher in the Geheimfernschreiber is generally considered to be more complex than the cypher used in the Enigma machines.

    The text about professor Buerling was taken from Wikipedia.
  3. Harry Ree

    Harry Ree Very Senior Member

    The Germans made the mistake of developing a commercial machine whose encoding principles were known to others since the Enigma machine was first used by the Swiss banking industry.

    Rather than investing in their own R&D and create afresh,the Germans chose to use the commercial machine as the basis for the development of their cipher machine.A flawed decision if ever there was one.

    Good the see the Poles given credit for the work they put in to understand the early German developments of the machine.Despite the fall of Poland,the Poles were able to pass on the results of their work and it became a springboard for the estastablishment of Ultra intelligence.

    There must have been considerable wartime wireless traffic between Germany and Spain especially regarding intelligence gleaning by Spain on the situation in Gib.Hitler's continual effort to entice the Franco to enter the war would have generated a deal of wireless traffic.Makes one wonder what the conduit was for these communications.

    Did the Germans trust the Franco regime with their jewel of encripted communications during the war?
  4. geoff501

    geoff501 Achtung Feind hört mit

    Don't know if it has been discussed here before, a little bit of topic perhaps,but have you heard of the Swedish Professor of Mathematics Arne Beurling ....


    The Geheimschreiber Secret
    Arne Beurling and the success of Swedish signals intelligence

    A translation is available here Under the Historical papers section.
  5. geoff501

    geoff501 Achtung Feind hört mit

    Did the Germans trust the Franco regime with their jewel of encripted communications during the war?

    No. The German military version had different wiring and uniquely a 'Plugboard' which they assumed increased the security by a large amount. In practice the plugboard essentially vanished with Turing's Bombe attack.

    The biggest error was adding improvements (extra 3 naval wheels, 4th wheel, UHR box, Rewireable Reflector) in a piecemeal fashion in parallel with existing systems, so these additions were broken.
  6. geoff501

    geoff501 Achtung Feind hört mit

  7. Oldman

    Oldman Very Senior Member

    Really interesting story and posts, cryptology is often the forgotten part of warfare,
  8. plant-pilot

    plant-pilot Senior Member

    Really interesting story and posts, cryptology is often the forgotten part of warfare,

    I can see where you're going with that, but I think it's more a case of seldom told story. Difficult to forget something you aren't told ;-)
  9. Peter Clare

    Peter Clare Very Senior Member

    A rare Enigma machine used in the Spanish Civil War was this morning handed over to the Bletchley Park Trust. It is one of two machines given to the British communications intelligence agency, GCHQ, in March 2012, by its Spanish counterpart.


    Today the machine took its place in the Bletchley Park Museum adding another, pre-WW2, chapter to the story of the British codebreaking effort. It has joined one of the largest collections of Enigma machines on public display anywhere in the world.

    News - Local News: Milton Keynes South (MK1)

Share This Page