Simple clear advice in plain English

The forgotten father of Colossus

In the first of three articles on early UK computing, Clive Akass tells how Tom Flowers built the first modern computer, helped save the world from the Nazis, and was written out of history

Codebreakers at Bletchley Park in 1942 faced a big problem. Decrypting messages from Germany’s now-famous Enigma encryption engine was progressing satisfactorily with the aid of machines called Bombes that could rapidly mirror Enigma’s operation.

But harder to crack was a more complex engine called the Lorentz SZ40 (SZ42 in a later design) that encrypted 5,000 characters per second. It was used by the Nazi High Command.

A break had come in August 1941 when a German operator, against orders, transmitted the same message twice without changing the settings of the SZ40, with slight mistakes the second time. Remarkably, codebreakers were able to deduce from this both the text of the message and the structure of the machine.

The message and the SZ40’s encrypted output both used the five-bit binary Baudot code used in teleprinters. The output was derived from adding the message stream to a masking ‘keystream’ using binary arithmetic: carry bits were dropped, so the addition was equivalent to an XOR operation (ie using the rules: 1+1=0; 0+0=0; 1+0=1; 0+1=1).

The keystream was generated by five pairs of wheels, one for each of the five bits of a Baudot character. Each wheel had a different pattern of 0s and 1s (to use modern notation), and the key bit came from XOR-ing the two active bits of each pair. Two control wheels complicated matters by moving one of the wheels (called the chi) after each character, and the other (the psi) only sometimes.

Wheel bit patterns changed every month or so but the starting position of each wheel usually changed with each message. By late 1942 codebreakers had found a way of deriving bit patterns from the few occasions when German operators sent two different messages with the same settings, This allowed them to reproduce the entire chi stream, Then a young Cambridge graduate, William Tutte, discovered that XOR-ing the encrypted message with itself, shifted by one character, cancelled out much of the effect of the more static psi wheels and had a high correlation with the chi stream.

So by comparing this stream with the chi stream at successive start points to find the best fit, they could home in on the start position. With this information it was possible to extract the message.

This task would be trivial today. In 1942, few people were aware even of the concept of a computer. But one of them, Alan Turing, had designed one in abstract and he was at Bletchley Park. Some of his ideas had gone into the mechanical logic used to break the Enigma; now Bletchley tried to apply similar methods to the new problem.

The Tutte and chi streams were punched into paper tapes and compared using a system of photo-electric sensors and relays. It worked after a fashion, but it was slow and the tapes tended to fall out of sync. At this point, one of the least-known pivotal figures of the 20th century enters the story.

Article tags

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

The main house at Bletchley Park

Bletchley Park code-breaking block is awarded Grade II listing

Block C at the iconic World War II code-breaking centre gets protection

bletchley-park-tony-sale-colossus

Web page honouring Tony Sale set up by computing museum

"One machine can do the work of 50 ordinary men. No machine can do the work of one Tony Sale." Tributes flood in to honour colossus of computing world

Colossus

Tony Sale, the leader of the Colossus rebuild project, dies

Tributes flood in to honour the memory of a colossus in the UK's computing world

Question & Answer

Q.How do I stop Windows 7 search?

> Read the answer

Q.Is it a genuine call from Microsoft?

> Read the answer

Q.How can I turn Autoplay back on?

> Read the answer

Best deals on the web

img

Apple MacBook Pro (MC724LL/A)

£999.99- Buy it now

img

Samsung 300E5A-A01DX

£449.99- Buy it now

img

Sony Vaio VPCF23P1E/B

£679.98- Buy it now

Great benefits for subscribers!

Most popular articles

Poll

Which is your preferred web browser

Jargon Buster

Computing terms explained in plain English

Bios

Basic Input Output System. Essential software built into every PC that connects the vital components....

Great shopping deals from Computeractive