Tag Archives: Turing

Cryptography in the NTM (Prague)

Photography by Carlos Dorce

Photography by Carlos Dorce

I hope this is my last post about the NTM in Prague after talking about the astronomical instruments and Kircher’s Organum Mathematicum! Opposite the astronomical exhibition, there is another about secrets and adults and children can play with the cryptography (if they know the Czec language!):

Ché Guevara used a number code when communicating with Fidel Castro. He transposed each letter in the text to a number […]. He then wrote those numbers one behind the other. Below that line he wrote a second line of numbers, known only to him and Castro, which was used only once. He then added both lines, number per number, and below each set of numbers he wrote (the last digit of) the sum. This give a third line of numbers. Only that row was transmitted. When Castro subtracted the second line from the third, he had the first line as the result.

The Ché method cannot be cracked because the key (the second line of numbers) is random, as long as the message, is only used once.

One of the oldest methods for hidding a message is the Ribbon Code:

The code system of winding ribbons around a shaft was already known to the Greeks of the seventh century BC. The generals of Sparta received a staff in deep secrecy, of which the other half was kept by the magistrates of the city. Messages were written on a leather belt.

The Greek called such a stick a scytale and code experts today still use that name. The scytale is an example of a ‘transposition code’, a code in which the letters of a text are mixed up according to a specified recipe. The drawback of a scytale is that the spy can already guess from the ribbons which coding technique was used. It is then only a matter of patience to find the right diameter of the shaft. Gabrielle Petit, a heroine of the Belgian resistance during World War I, passed messages on silk ribbons, which she camouflaged as part of her clothes.

Photography by Carlos Dorce

Photography by Carlos Dorce

The Caesar code is also explained:

Photography by Carlos Dorce

Photography by Carlos Dorce

And the Mask Code:

The French cardinal Richelieu (1585-1642), a famous and powerful intrigant, fully used this technique to stay in contact with his agents and spies. They were each given a mask, to put over his letters.

In this method, you and your partner each have the same grid with holes. You write a message in the holes, and afterwards you fill in the remaining space with innocent text. This technique is known as the ‘Cardan grille’ after Girolamo Cardano, of Cardan joint fame, who invented the grille in 1550. It is very difficult to crack.

Photography by Carlos Dorce

Photography by Carlos Dorce

Finally, a space for the Enigma machine:

The Enigma was the German top coding machine during World War II. The Germans thought their messages to be uncrackable. Which would indeed have been the case, if they operators hadn’t made procedural mistakes and the British hadn’t secured a code book. The mathematical genius Alan Turing designed the first automatic calculators to do the enormous amount of computations needed to check all possibilities. It is assumed Turing and his crew shortened the war with two years.

Photography by Carlos Dorce

Photography by Carlos Dorce

LocationNational Technical Museum in Prague (map)

Enigma Machine in the Museum of Technology of Warsaw

Photography by Carlos Dorce

Photography by Carlos Dorce

The Museum of Technology of Warsaw is located in the Palace of Culture and Science of Warsaw. This building is the tallest one in Poland (231 m.) and one of the most polemical symbols in this country. The construction started in 1952 (to 1955) and it was a present from Joseph Stalin and the U.S.S.R. authorities to the Polish people so it’s easy to imagine why there are a lot of people who don’t like it.

The Palace is decorated with a lot of statues of different allegories and Polish women and men and among them…

Photography by Carlos Dorce

Photography by Carlos Dorce

I’ve been searching for the net but I’ve not been able to find the names and representations of all these sculptures but this image is very familiar for us, isn’t it? It’s Copernicus! And which book is he reading? Look at the orbits!

Photography by Carlos Dorce

Photography by Carlos Dorce

The museum is in one of its corners and it is not so big. There are a lot of old cars, bikes, motorbikes and some old objects as telephones, radios,… and, of course, a calculator:

Photography by Carlos Dorce

Photography by Carlos Dorce

The Enigma machine is in the first floor next to the telephones:

Photography by Carlos Dorce

Photography by Carlos Dorce

Machine cypher was introduced in Germany at the end of the 1920s, and in 1933-34 the cipher communication system was adopted by the Third Reich.

In 1929 the Cipher Department of the Polish Army’s Headquarters organized in Poznan a training for cryptologists, and some time later set up its agency there. Soon the agency’s most clever mathematicians were transferred to Warsaw. Among them were: Marian Rejewski (right), Jerzy Rozycki (left), and Henryk Zygalski (middle).

Photography by Carlos Dorce

Photography by Carlos Dorce

This team set to work on the Enigma’s cipher with the application of mathematical methods, permutations in particular, and their previous experience of working on German ciphers. Cooperation with French radio intelligence was helpful, too. The Enigma’s cipher was ultimately broken at the end of 1933 and the beginning of 1934. In the process of deciphering scientists employed machines of their own design (similar to Enigma) produced by the AVA Fadiotechnical Factory. They also built a cycle counter and a cryptological bomb which were used in solving alterating cipher keys.

Photography by Carlos Dorce

The Enigma Machine. Photography by Carlos Dorce

 In the face of the incoming war the method of breaking ciphers together with the machine and the whole documentation was in July 1939 passed on France and Britain, where Enigma’s cipher was still not deciphered.

In September 1939 secrets of the Cipher Department were scrupulous obliterated, and the whole staff was evacuated to France. Rozycki was killed there and after the war Zygalski remained in England and Rejewski returned to Poland.

The riddle of the Enigma remained unrevealed for a long time. The first publication concerning this subject appeared in 1967 in Poland (W.Kozaczuk’s “Battle for Mysteries”). However, it was a book by G.Bertrand, the former head of French radio intelligence, that won a widespread fame after its publication in France in 1973 and triggered many other publications all over the world. While Bertrand (advocate of the idea of the Polish-French cooperation in the 1930s and 1940s) pointed Polish scientists as the authors of the success in breaking the Enigma cipher, some time later the English credired themselves with this achievement.

So… WAS ALAN TURING THE ENIGMA BREAKER?

The Enigma machine on display dated back to the end of the 1930s and was used in the Wehrmacht.

Location: Museum of Techonolgy in Warsaw (map)

Turing in Cambridge

Photography by Carlos Dorce

Photography by Carlos Dorce

Cambridge is full of this plaques with the names of the great scientists and humanists who studied and worked here. So you must look at these blue circles if you want to find the names of the great minds like Alan Turing (1912-1954), “mathematician, computer pioneer and code breaker”.

The plaque is in King’s Parade near the intersection with Bene’t St.

Turing in the Science Museum

Photography by Carlos Dorce

Photography by Carlos Dorce

Today is my birthday and I’m in London! My wife, my son, my daughter and me have decided to go to the Science Museum and we have found an interesting exhibition about Alan Turing:

The Second World War was not just fought with bombs and shells. It was a war of electronic whispers and secret radio signals snatched from the ether.

At Bletchey Park, Buckinghamshire, thousands of men and women laboured night and day to crack these coded radio messages which held Germany’s most secret plans. One of these codebreakers was Alan Turing.

But Turing was not just a codebreaker. Born 100 years ago, the British mathematician was also a philosopher and computing pioneer who grappled with some of the fundamental problems of life itself. Yet his own life was cut tragically short. In 1954 he was found dead, poisoned by cyanide. He was 41.

Throughout his life, Turing broke the codes of science and society. His ideas helped shape the modern world – but it was a world he did not live to see. This is his story.

After the Second World War, Alan Turing as asked to put his theories and experience into action by developing a ground-breaking electronic computer at the government’s National Physical Laboratory. His first specifications were written in 1945.

Following administrative delays, Turing left the project in 1948, but a trial version (known as Pilot ACE) was completed in 1950. It is now the most significant artefact in existence.

Yet the Pilot ACE computer was more than just a trial. It was used for several years by a variety of external customers desperate to employ its computing power. It also became a public celebrity, referred to as Turing’s ‘electronic brain’.

(Very bad) Photography by Carlos Dorce

(Very bad) Photography by Carlos Dorce

So Turing was the man who broke Enigma and this machine is also shown in the exhibition:

Photography by Carlos Dorce

Photography by Carlos Dorce

Enigma machines were first introduced in the 1920s for keeping commercial messages secret. An Enigma machine was used at both the transmitting and the receiving end of the message.

Senders typed their messages on the keyboard. Each typed letter was encrypted by passing an electrical signal through a plug-board and rotors, causing a different letter to light up. These new letters formed a secure message, ehich could be transmitted by radio to the recipient.

At the receiving end, the message was decrypted using an Enigma machine that had been set up initially in exactly the same way as the sending machine.

Soon after their introduction, government institutions and the military began to use modified Enigma machines for their secret communications, believing nobody would be able to break the cipher system. But this was what Alan Turing and his colleagues managed to do.

Alan Turing worked at Bletchey and he developed sophisticated decryption processes and devised the machines called ‘bombes’ that could break the code on an industrial scale. Some 200 bombes were built at a secret facility nearby. The exhibition had some pictures about the bombs and these two wheels from a bomb machine, c. 1940:

Photography by Carlos Dorce

Photography by Carlos Dorce

Next to Turing’s bombs and computers we can also see these two pioneer calculating machines:

Photography by Carlos Dorce

Photography by Carlos Dorce

The right one is a mechanical logic machine by William Stanley Jevons (1869) and the other is an electrical logic machine by Dietrich Pronz and Wolfe Mays (1949).

We have some personal aspects of this important man too. For example, the exhibition points to the fact that in 1927 Turing began a close friendship with a boy at this school, Christopher Morcom. In 1930 Morcom died from tuberculosis, aged 18, and Turing wrote a short essay expressing his belief that the human spirit can live outside the body.

Photography by Carlos Dorce

Photography by Carlos Dorce

The exhibition also shows this calculating machine used at the Scientific Computer Service in 1939:

Photography by Carlos Dorce

Photography by Carlos Dorce

I didn’t know that questions like…

What will be the position of the Moon in A.D.2000? How would you know the right direction in which to point an anti-aircraft gun?

were posed in a 1942 newspaper articleabout the Scientific Computing Service. Before Turing’s computer, ‘computers’ were human and usually women. In fact, in 1936 Turing wrote an article which was the theoretical basis for today’s computers because he imagined a machine that could compute any problem.

In 1948, Alan Turing moved to Manchester University to work on a ground-breaking stored-program computer developing mathematical theories of morphogenesis (growth and patterns in animals and plants). In those years he began a relationship with Arnold Murray and in 1952 Turing was arrested under anti-homosexuality legislation. Given a choice of imprisonment or a one-year course of female hormones, he opted for the latter. It seems that he couldn’t stand that kind of experiment and he committed suicide.

Photography by Carlos Dorce

 Location: Science Museum in London (map)