Colossus computer
From Wikipedia, the free encyclopedia
Categories: Bletchley Park | Cryptanalytic devices | World War II British electronics | Early computers | English inventions
|
The Colossus machines were electronic computing devices used by British codebreakers to read encrypted German messages during World War II. These were the world's first programmable (if not fully), digital, electronic, computing devices. Colossus was designed by engineer Tommy Flowers at the Post Office Research Station, Dollis Hill with input from mathematician Max Newman and group at Bletchley Park. The prototype, Colossus Mark I, was shown to be working in December 1943 and was operational at Bletchley Park by February 1944. An improved Colossus Mark II was first installed in June 1944, with input from Allen Coombs, and ten Colossi had been constructed by the end of the war. The Colossus computers were used to help decipher teleprinter messages which had been encrypted using the Lorenz SZ40/42 machine. Colossus compared two data streams, counting each match based on a programmable boolean function. The encrypted message was read at high speed from a paper tape. The other stream was generated internally, and was an electronic simulation of the Lorenz machine at various trial settings. If the match count for a setting was above a certain threshold, it would be output on an electric typewriter.
Purpose and originsImage:SZ42-6-wheels-lightened.jpg
The Lorenz machine was used by the Germans to encrypt high-level teleprinter communications. It contained 12 wheels with a total of 501 pins.
The Colossus computers were used in the cryptanalysis of high-level German communications, messages which had been encrypted using the Lorenz SZ 40/42 cipher machine; part of the operation of Colossus was to emulate the mechanical Lorenz machine electronically. To encrypt a message with the Lorenz machine, the plaintext was combined with a stream of key bits, grouped in fives. The keystream was generated using twelve pinwheels: five were termed (by the British) Failed to parse (Missing texvc executable; please see math/README to configure.): \chi\,
("chi") wheels, another five Failed to parse (Missing texvc executable; please see math/README to configure.): \psi\,
("psi") wheels, and the remaining two the "motor wheels". The Failed to parse (Missing texvc executable; please see math/README to configure.): \chi\,
wheels stepped regularly with each letter that was encrypted, while the Failed to parse (Missing texvc executable; please see math/README to configure.): \psi\,
wheels stepped irregularly, controlled by the motor wheels.
Bill Tutte, a cryptanalyst at Bletchley Park, discovered that the keystream produced by the machine exhibited statistical biases deviating from random, and that these biases could be used to break the cipher and read messages. In order to read messages, there were two tasks that needed to be performed. The first task was wheel breaking, which was discovering the pin patterns for all the wheels. These patterns were set up once on the Lorenz machine and then used for a fixed period of time and for a number of different messages. The second task was wheel setting, which could be attempted once the pin patterns were known. Each message encrypted using Lorenz was enciphered at a different start position for the wheels. The process of wheel setting found the start position for a message. Initially Colossus was used to help with wheel setting, but later it was found it could also be adapted to the process of wheel breaking as well. Colossus was operated in the Newmanry, the section at Bletchley Park responsible for machine methods against the Lorenz machine, headed by the mathematician Max Newman. Colossus was developed out of a prior project which produced a special purpose opto-mechanical comparator machine called "Heath Robinson". The main problem with Robinson was synchronising two paper tapes, one punched with the enciphered message, the other representing the patterns produced by the wheels of the Lorenz machine, that tended to stretch when being read at over 1000 characters per second, resulting in unreliable counts. Colossus solved this problem by reproducing one of the tapes electronically. The remaining single tape could be fed through Colossus at a higher speed and could be counted much more reliably. The construction of ColossusA team headed by Tommy Flowers spent eleven months (early February 1943 to early January 1944) designing and building Colossus at the Post Office Research Station, Dollis Hill, in northwest London. After a functional test in December 1943, Colossus was dismantled and shipped north to Bletchley Park, where it was delivered on 18 January 1944, and attacked its first message on 5 February.[1] The Mark I was followed by nine Mark 2 Colossus machines, the first being installed in June 1944, and the original Mark I machine was converted into a Mark 2. An eleventh Colossus was essentially finished at the end of the war. Colossus Mark 1 contained 1,500 electronic valves (tubes). Colossus Mark 2 with 2,400 valves was both 5 times faster and simpler to operate than Mark 1 and so greatly speeded the decoding process. Mark 2 was designed while Mark 1 was being constructed. Allen Coombs took over leadership of the Colossus Mark 2 project when Tommy Flowers moved on to other projects. For comparison, later stored-program computers like the Manchester Mark I of 1949 used about 4,200 valves. In comparison, ENIAC (1946) used 17,468 valves, but was not a software programmable machine. Colossus dispensed with the second tape of the Heath Robinson design by generating the wheel patterns electronically, and processing 5,000 characters per second with the paper tape moving at 40 ft/s = 12 m/s = 30 mph. The circuits were synchronized by a clock signal generated by the punched tape. The speed of calculation was thus limited by the mechanics of the tape reader. Designer Tommy Flowers tested the tape reader up to 9700 character/s (60 mph) before the tape disintegrated. He settled on 5000 characters/second as the desirable speed for regular operation. Sometimes, two or more Colossus computers tried different possibilities simultaneously in what now is called parallel computing, greatly speeding the decoding process. Colossus included the first ever use of shift registers and systolic arrays, enabling five simultaneous tests, each involving up to 100 Boolean calculations, on each of the five channels on the punched tape (although in normal operation only one or two channels were examined in any run). Initially Colossus was only used to determine the initial wheel positions used for a particular message (termed wheel setting). The Mark 2 included mechanisms intended to help determine pin patterns (wheel breaking). Both models were programmable using switches and plug panels in a way the Robinsons had not been. Design and operationImage:ColossusRebuild 11.jpg
In 1994, a team led by Tony Sale began a reconstruction of a Colossus at Bletchley Park. Here, in 2006, Sale supervises the breaking of an enciphered message with the completed machine.
Colossus used state-of-the-art vacuum tubes (thermionic valves), thyratrons and photomultipliers to optically read a paper tape and then applied a programmable logical function to every character, counting how often this function returned "true". Although machines with many valves were known to have high failure rates, it was recognised that valve failures occurred most frequently with the current surge at power on, so the Colossus machines, once turned on, were never powered down unless they malfunctioned. Colossus was the first of the electronic digital machines with programmability, albeit limited in modern terms. It was not, however, a fully general Turing-complete computer, even though Alan Turing worked at Bletchley Park. It was not then realized that Turing completeness was significant; most of the other pioneering modern computing machines were also not Turing complete (e.g. the Atanasoff–Berry Computer, the Harvard Mark I electro-mechanical relay machine, the Bell Labs relay machines (by George Stibitz et al), or the first designs of Konrad Zuse). The notion of a computer as a general purpose machine--that is, as more than a calculator devoted to solving difficult but specific problems--would not become prominent for several years. Colossus was preceded by several computers, many of them first in some category. Zuse's Z3 was the first functional fully program-controlled computer, and was based on electromechanical relays, as were the (less advanced) Bell Labs machines of the late 1930s (George Stibitz, et al). The Atanasoff–Berry Computer was electronic and binary (digital) but not programmable. Assorted analog computers were semiprogrammable; some of these much predated the 1930s (e.g., Vannevar Bush). Babbage's Analytical engine predated all these (in the mid-1800s), and was both digital and programmable though entirely mechanical, but was only partially constructed and never functioned during Babbage's life (a replica of his Difference engine No. 2, built in 1991, does work, however). Colossus was the first combining digital, (partially) programmable, and electronic. The first fully programmable digital electronic computer was the 1948 Manchester Small Scale Experimental Machine.
Influence and fateThe use to which the Colossi were put was of the highest secrecy, and the Colossus itself was highly secret, and remained so for many years after the War. Thus, Colossus could not be included in the history of computing hardware for many years, and Flowers and his associates also were deprived of the recognition they were due. Being not widely known, it therefore had little direct influence on the development of later computers; EDVAC was the early design which had the most influence on subsequent computer architecture. However, the technology of Colossus, and the knowledge that reliable high-speed electronic digital computing devices were feasible, had a significant influence on the development of early computers in Britain and probably in the US. A number of people who were associated with the project and knew all about Colossus played significant roles in early computer work in Britain. In 1972, Herman Goldstine wrote that:
|


