Skip to content

Colossus computer

Ch. 1 of 7
— CH. 1 · INTRODUCTION —

Contents

Colossus computer

7 sections
  • Colossus was a machine built to win a war that its operators were forbidden to admit existed. Developed by British codebreakers between 1943 and 1945, it worked on one of the most closely guarded problems of the Second World War: breaking the Lorenz cipher, the encryption system used by Germany's highest military command. When the first prototype was switched on in December 1943, it became something that no one had ever built before. It was the world's first programmable, electronic, digital computer. And almost no one outside Bletchley Park would know that for thirty years.

    The questions worth sitting with are these: how did a telephone engineer from the Post Office come to build the most sophisticated computing machine of his era? What mathematical leap made the machine possible? And why, after the war was won, did the British government order the man who built it to burn every drawing, every plan, every record he had?

  • In August 1941, a German operator made a catastrophic blunder. Two versions of the same message were transmitted with identical machine settings. British signals interceptors caught both, and the ripple effects of that single error would eventually produce Colossus.

    John Tiltman, a highly regarded cryptanalyst at the Government Code and Cypher School, worked the intercepts first. He extracted a keystream of almost four thousand characters. That raw material then landed with Bill Tutte, a newly arrived member of the Research Section. Working from Tiltman's keystream, Tutte deduced the entire logical structure of the German encryption machine without ever seeing it.

    Tutte worked out that the machine had twelve wheels arranged in two groups of five, which he named the chi and psi wheels, plus two further wheels he called the mu or motor wheels. The chi wheels advanced with every encrypted character; the psi wheels moved irregularly, driven by the motor wheels. This irregular motion was the heart of the cipher's strength.

    The machine, which the British called Tunny, used a technique known as Vernam ciphering. It combined plaintext characters with a stream of key characters using an XOR Boolean operation to produce ciphertext. Done correctly, this obliterated any trace of the natural frequency patterns that appear in ordinary language.

    Tutte then found the crack. By examining how characters changed from one position to the next, rather than examining the characters themselves, patterns appeared in the noise. This technique, called differencing, gave cryptanalysts a way into the system. It also gave them a precise mathematical target for any machine they might build to attack it.

  • Tommy Flowers held the title of senior electrical engineer and Head of the Switching Group at the Post Office Research Station at Dollis Hill. He was not a mathematician or an academic. He was a man who understood how electronic components actually behaved under operational conditions.

    Flowers had been brought in to design the combining unit for an earlier machine called Heath Robinson, a less ambitious predecessor that proved the concept of machine-based cryptanalysis but had serious practical problems. Tapes stretched and broke at high speed. Two looped tapes had to be kept in precise synchronisation, and the mechanical components could not keep up with the demands of the work.

    Flowers knew otherwise. His pre-war research had shown him that most valve failures happened at power-up, when thermal stress was highest. If the machine was never switched off, failure rates dropped to very low levels. Slow voltage ramping at start-up reduced stress further. And valves could be soldered directly into the circuit rather than fitted with plug-in bases, eliminating a common source of unreliability.

    He persisted, and found support from W. Gordon Radley, Director of the Research Station. Flowers then spent eleven months, from early February 1943, directing a team of about fifty people in the Switching Group to build the machine. He used some of his own money to fund the project. The resulting prototype, Mark 1 Colossus, contained 1,600 thermionic valves.

  • Mark 1 Colossus performed satisfactorily at Dollis Hill on the 8th of December 1943. It was then dismantled and shipped north to Bletchley Park, arriving on the 18th of January 1944 and reassembled by Harry Fensom and Don Horwood. A memo written by Max Newman on that date, now held in the National Archives, simply records: "Colossus arrives today." The machine successfully attacked its first message on the 5th of February 1944.

    While the prototype was still being built, an improved design had already been developed. The Mark 2 Colossus incorporated a six-character shift register and twelve thyratron ring stores that simulated each wheel of the Lorenz machine. Four of these improved machines were ordered in March 1944. By the end of April, the number on order had risen to twelve.

    Dollis Hill faced intense pressure to have the first Mark 2 operational by the 1st of June. Allen Coombs took over leadership of the production Colossi. The first Mark 2, containing 2,400 valves, became operational at 08:00 on the 1st of June 1944. The Allied invasion of Normandy fell on the 6th of June. The machine that arrived just in time to support that operation was five times faster than the prototype and simpler to operate.

    Afterwards, new Colossi arrived at roughly one per month. By V-E Day, ten were running at Bletchley Park and an eleventh was being assembled. Seven were dedicated to wheel setting and three to wheel breaking. The tape reader for the Mark 2 had been tested up to 9,700 characters per second during development, before the tape disintegrated. Regular operational speed was set at 5,000 characters per second, equivalent to 40 feet per second. With the five-way parallelism built into the design, effective processing speed reached 25,000 characters per second.

  • The Newmanry, the section responsible for machine-based cryptanalysis, was staffed by cryptanalysts, engineers who stayed permanently on hand for maintenance, and operators drawn from the Women's Royal Naval Service, known as Wrens. By the end of the war the staffing stood at 272 Wrens and 27 men.

    Every run on Colossus began with the Wrens preparing the paper tape loop. They joined the two ends of a tape using Bostik glue, leaving a 150-character blank section between the end and the start of the message. Using a hand punch, they inserted a start hole between the third and fourth channel sprocket holes from the end of the blank section, and a stop hole between the fourth and fifth channel sprocket holes from the end of the message. Specially positioned photocells read these markers to control the timing of the run.

    The Wren operators would then thread the tape through the gate, around the pulleys of what was called the bedstead, and adjust the tension. The two-tape bedstead design, carried over from Heath Robinson, allowed one tape to be loaded while the previous one was still running. Working under instruction from the cryptanalyst, the Wrens set the algorithm using the decade switches on the selection panel and the K2 panel switches, then started the tape motor. A long run, involving two chi wheels as in Tutte's foundational algorithm, took on average eight minutes. A short run involving a single chi wheel took about two minutes. Over time, decision trees were developed that allowed Wren operators to select the next algorithm to try without waiting for the cryptanalyst, in a proportion of cases.

    Howard Campaigne, a mathematician and cryptanalyst from the US Navy's OP-20-G, captured the rhythm of working with the machine in a foreword to Flowers' 1983 paper: "I told the machine to make certain calculations and counts, and after studying the results, told it to do another job."

  • After Germany surrendered, the Colossus machines were dismantled. All but two were broken into parts so small that no one examining them could infer what they had been used for. Two Colossi, along with two Tunny machines, were moved first to GCHQ's headquarters at Eastcote in April 1946, then relocated to Cheltenham between 1952 and 1954. The machine known as Colossus Blue was dismantled in 1959; the other followed in the 1960s.

    Tommy Flowers was ordered to destroy all documentation. He complied, burning his drawings and plans in a furnace. He described the experience later in words that stayed with those who heard them: "That was a terrible mistake. I was instructed to destroy all the records, which I did. I took all the drawings and the plans and all the information about Colossus on paper and put it in the boiler fire. And saw it burn."

    For thirty years, Colossus did not exist in the history of computing. Flowers and his colleagues received none of the recognition that was their due. In 1972, Herman Goldstine, who was unaware of Colossus and its legacy, wrote admiringly about Britain's post-war vitality in computing, not knowing that the source of much of that vitality was classified.

    The secrecy began to crack when Group Captain Winterbotham published his book The Ultra Secret in 1974. Professor Brian Randell, researching British computer history for a conference at the Los Alamos Scientific Laboratory in New Mexico in June 1976, obtained permission to present a paper on the wartime Colossi. The British government had released a series of captioned photographs from the Public Record Office in October 1975. The response to Randell's presentation was intense enough that a special evening meeting was convened. In 1977, Randell published his account, titled The First Electronic Computer, in several journals.

    In October 2000, GCHQ released a 500-page technical report to the Public Record Office called the General Report on Tunny. It included a passage written by the cryptographers who had worked with Colossus: "It is regretted that it is not possible to give an adequate idea of the fascination of a Colossus at work; its sheer bulk and apparent complexity; the fantastic speed of thin paper tape round the glittering pulleys."

  • Tony Sale led a team that began reconstructing a fully functional Mark 2 Colossus in 1993. The original blueprints had been burned, the hardware destroyed. What remained was scattered through engineers' notebooks and, to a considerable degree, materials that had survived in the United States.

    The optical tape reader presented the greatest potential obstacle. Dr. Arnold Lynch, who had originally designed it for the wartime machine, was still alive and was able to redesign it to his own original specification. The reconstruction was completed in 2008 and is now on display in H Block at Bletchley Park in Milton Keynes, Buckinghamshire, in the historically correct location for Colossus No. 9 at The National Museum of Computing.

    In November 2007, before the project was formally complete, a Cipher Challenge pitted the rebuilt Colossus against radio amateurs worldwide. Three messages were enciphered using a Lorenz SZ42 and transmitted from radio station DL0HNF at the Heinz Nixdorf MuseumsForum computer museum. The challenge was won by radio amateur Joachim Schuth, who had prepared carefully for the event and written his own signal processing and code-breaking software in Ada. His 1.4 GHz laptop found the settings for all twelve wheels in under a minute, processing ciphertext at 1.2 million characters per second, which was 240 times faster than Colossus. Schuth calculated that this implied an equivalent clock speed of 5.8 MHz for the 1944 machine, and described that as remarkable for a computer of that era.

    The Colossus team was slowed by their choice to use original World War II radio equipment, which put them a day behind due to poor reception. Tony Sale commented on the result: "On the strength of today's performance Colossus is as good as it was six decades ago." In January 2024, GCHQ released new photographs showing a re-engineered Colossus in an environment that appears to be GCHQ Cheltenham, a reminder that the machine's story kept accumulating new chapters long after the war was over.

Up next

Updated

Common questions

What was the Colossus computer used for in World War II?

Colossus was used to break the Lorenz cipher, the encryption system used by Germany's High Command (OKW) to communicate with army commands across occupied Europe. It performed statistical analysis of intercepted teleprinter messages by comparing ciphertext against an internally generated keystream, allowing cryptanalysts at Bletchley Park to determine the wheel settings of the Lorenz machine.

Who designed and built the Colossus computer?

Colossus was designed by Tommy Flowers, a senior electrical engineer and Head of the Switching Group at the Post Office Research Station at Dollis Hill. The project arose from plans developed by mathematician Max Newman at the Government Code and Cypher School at Bletchley Park, and Flowers was recommended to Newman by Alan Turing.

When was the Colossus computer first operational?

The Mark 1 prototype performed satisfactorily at Dollis Hill on the 8th of December 1943 and was delivered to Bletchley Park on the 18th of January 1944. It successfully attacked its first message on the 5th of February 1944. The improved Mark 2 Colossus became operational at 08:00 on the 1st of June 1944, just days before the Normandy landings.

Why was the Colossus computer kept secret for so long?

Colossus and the entire Bletchley Park codebreaking operation were classified for thirty years after the war. All but two of the machines were dismantled into parts too small to reveal their purpose, and Tommy Flowers was ordered to burn all blueprints and documentation. The secrecy began to lift after Group Captain Winterbotham published The Ultra Secret in 1974, and Professor Brian Randell presented a paper on the Colossi at a computing history conference in 1976.

Is the Colossus computer considered the first electronic digital computer?

Colossus is regarded as the world's first programmable, electronic, digital computer. The first electromechanical computer was Konrad Zuse's Z3, completed in Berlin in 1941. Because of wartime secrecy, Colossus was excluded from the history of computing hardware for many years, and it was EDVAC that became the seminal computer architecture widely known at the time.

Where can you see a working Colossus computer today?

A fully functional reconstruction of a Mark 2 Colossus, completed by Tony Sale and a team of volunteers between 1993 and 2008, is on display at The National Museum of Computing in H Block at Bletchley Park in Milton Keynes, Buckinghamshire. It occupies the historically correct location for Colossus No. 9.

All sources

73 references cited across the entry

  1. 2Who Built The First Computer?Frederic Golden — 29 March 1999
  2. 4BookWho Broke the Wartime Codes?Nicola Barber — Capstone — 21 December 2015
  3. 6Tony Sale obituaryMartin Campbell-Kelly — 31 August 2011
  4. 7Colossus – The Rebuild StoryThe National Museum of Computing
  5. 8BookCodebreakers: The Inside Story of Bletchley ParkF. H. Hinsley et al. — Oxford University Press — 2001
  6. 10Exhibit in the National Cryptologic Museum, Fort Meade, Maryland, USA
  7. 11Mind as Machine: A History of Cognitive ScienceMargaret Boden — Oxford University Press — 2000
  8. 12Computer (Objekt)Paul Atkinson — Reaktion Books — 2010
  9. 13Harry Fensom obituaryJim Fensom — 8 November 2010
  10. 14Military Communications: From Ancient Times to the 21st CenturyABC-CLIO — 2007
  11. 15Advances in Cryptology - EUROCRYPT 2000: International Conference on the Theory and Application of Cryptographic Techniques Bruges, Belgium May 14-18, 2000, ProceedingsSpringer — 2000
  12. 16Obituary: Allen CoombsBrian Randell et al. — 15 March 1995
  13. 20Proceedings of the 8th International Conference on Unconventional Computation 2009 (UC09), Ponta Delgada, PortugalBenjamin Wells — Springer-Verlag — 2009
  14. 23JournalAugust 1946: The Moore School LecturesAlan Chodos — 2022
  15. 24The Ultra secret: the inside story of Operation Ultra, Bletchley Park and EnigmaF.W. Winterbotham — Orion Books Ltd — 2000
  16. 25COLOSSUS and the History of Computing: Dollis Hill's Important Contribution by A.W.M. Coombs in The Post Office Electrical Engineers' Journal (POEEJ; Volume70, 1977/78 part 2, July 1977, pages 108-110
  17. 31NewsColossus loses code-cracking raceMark Ward — 16 November 2007
  18. 32German Codebreaker receives Bletchley Park HonoursBletchley Park National Codes Centre — 27 Jan 2008
  19. 35Was the Manchester Baby conceived at Bletchley Park?David Anderson — British Computer Society — 2007
  20. 37Colossus, Codebreaking, and the Digital AgeStephen Budiansky — 2006
  21. 38Codebreaking with the Colossus ComputerFrank Carter — Bletchley Park Trust — 2008
  22. 39The Installation and Maintenance of ColossusW. W. Chandler — 1983
  23. 40The Making of ColossusAllen W. M. Coombs — July 1983
  24. 41Colossus: its origins and originatorsB. J. Copeland — Oct–Dec 2004
  25. 42Colossus: The Secrets of Bletchley Park's Codebreaking ComputersOxford University Press — 2006
  26. 43IntroductionB. Jack Copeland — 2006
  27. 44Machine against MachineB. Jack Copeland — 2006
  28. 45TuringeryB. Jack Copeland — 2006
  29. 46"Mr Newman's section"B. Jack Copeland — 2006
  30. 47Colossus: Breaking the German 'Tunny' Code at Bletchley Park. An Illustrated HistoryB. Jack Copeland — 2010
  31. 48Colossus and the Dawning of the Computer AgeB. Jack Copeland — 2011
  32. 49The Bletchley Park CodebreakersBiteback Publishing Ltd — 2011
  33. 50How Colossus was Built and Operated – One of its Engineers Reveals its SecretsHarry Fensom — 2006
  34. 51The Design of ColossusThomas H. Flowers — 1983
  35. 52ColossusThomas H. Flowers — 2006
  36. 53Colossus: Bletchley Park's Greatest SecretPaul Gannon — Atlantic Books — 2007
  37. 54GCHQ Celebrates 80 Years of ColossusGCHQ — 18 January 2024
  38. 55The Computer from Pascal to von NeumannHerman H. Goldstine — Princeton University Press — 1980
  39. 56General Report on Tunny: With Emphasis on Statistical MethodsJack Good et al. — 1945
  40. 61Early Work on Computers at BletchleyI. J. Good — 1979
  41. 62A History of Computing in the Twentieth CenturyI. J. Good — Academic Press — 1980
  42. 63Operation TunnyGil Hayward — 1993
  43. 64Codebreakers: The inside story of Bletchley ParkOxford University Press — 1993
  44. 65BookBletchley Park and D-Day: The Untold Story of How the Battle for Normandy Was WonDavid Kenyon — Yale University Press — 2019
  45. 66The Secret Life of Bletchley Park: The WWII Codebreaking Centre and the men and women who worked thereSinclair McKay — Aurum Press — 2010
  46. 67The Origins of Digital Computers: Selected PapersBrian Randell — Springer-Verlag — 1982
  47. 68A History of Computing in the Twentieth CenturyBrian Randell — Elsevier Science — 1980
  48. 69Of Men and MachinesBrian Randell — 2006
  49. 70The First Computers: History and ArchitectureTony Sale — The MIT Press — 2000
  50. 71The Special Fish ReportAlbert W. Small — December 1944
  51. 72Appendix 4: My Work at Bletchley ParkWilliam T. Tutte — 2006
  52. 73A Universal Turing Machine Can Run on a Cluster of ColossiB Wells — 2004
  53. 74"The PC-User's Guide to Colossus"Benjamin Wells — 2006

Queue