image: Tom Flowers
Tom Flowers with the Duke of Kent at Bletchley Park in 1996
R E L A T E D   C O N T E N T
ADVERTISEMENT

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

Clive Akass, Personal Computer World 03 Jan 2008
ADVERTISEMENT

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.


All Desktop Computers
Tags: Bletchley, Bletchley-park, Enigma, Turing, Alan-turing

Like this story? Spread the news by clicking below:

Post this to Delicious del.icio.us    Post this to Digg Digg this    Post this to reddit reddit!

Permalink for this story
R E A D E R   C O M M E N T S
M A R K E T P L A C E
Get your free demo of Numara Track-It! 8 - the leading help desk solution for IT related issues.
Make presentations, review documents & share your entire desktop. 30-day free trial! (cc required).
Discover how remote support can fuel your IT business in ways you've never thought of before.
Apply ITIL best practices at your service desk while eliminating integration cost. Learn more here.
WAN based, automated, daily vulnerability assessments. Click here to try and request our whitepapers.
Have your product or service listed here >   
Sponsored links
F E A T U R E D   J O B S
United Kingdom | Advent Computer Training
Are you stuck in a dead end job? Do you want to take control of your salary, life and career? Advent IT and computer training offers advanced, professional training and helps you find the right ... more >
Welwyn Garden City, Hertfordshire, United Kingdom | Tesco.com
Development Team Leader / IT Specialist - Welwyn Garden City Who's behind the world's most successful online retailer? Just over 10 years ago we started Tesco.com (aka Dotcom). Today, we've an incredible 750,000 active customers ... more >
Brentwood, Essex, United Kingdom | NHS Blood & Transplant
System Support Officer - Brentwood - £20,225 - £26,123 The National Blood Service is an integral part of the NHS. Operating a network of centres across England and North Wales, we collect around 2 million ... more >
Berkshire, Reading, United Kingdom | Foster Wheeler
PDS/PDMS Administrator Foster Wheeler is a leading international project management, engineering and construction organisation with global construction capabilities working on major projects within upstream oil & gas, midstream & LNG, refining, petrochemicals & chemicals, pharmaceuticals ... more >
More job opportunities