Heath Robinson was a machine used by British
codebreakers
Cryptanalysis (from the Greek language, Greek ''kryptós'', "hidden", and ''analýein'', "to analyze") refers to the process of analyzing information systems in order to understand hidden aspects of the systems. Cryptanalysis is used to breach C ...
at the
Government Code and Cypher School (GC&CS)
Government Communications Headquarters, commonly known as GCHQ, is an intelligence agency, intelligence and security agency, security organisation responsible for providing signals intelligence (SIGINT) and information assurance (IA) to the G ...
at
Bletchley Park
Bletchley Park is an English country house and estate in Bletchley, Milton Keynes ( Buckinghamshire) that became the principal centre of Allied code-breaking during the Second World War. The mansion was constructed during the years following ...
during
World War II
World War II or the Second World War, often abbreviated as WWII or WW2, was a world war that lasted from 1939 to 1945. It involved the vast majority of the world's countries—including all of the great powers—forming two opposin ...
in
cryptanalysis of the Lorenz cipher
Cryptanalysis of the Lorenz cipher was the process that enabled the British to read high-level German army messages during World War II. The British Government Code and Cypher School (GC&CS) at Bletchley Park decrypted many communications betwee ...
. This achieved the decryption of messages in the German
teleprinter
A teleprinter (teletypewriter, teletype or TTY) is an electromechanical device that can be used to send and receive typed messages through various communications channels, in both point-to-point and point-to-multipoint configurations. Initia ...
cipher produced by the
Lorenz SZ40/42 in-line cipher machine. Both the cipher and the machines were called "Tunny" by the codebreakers, who named different German teleprinter ciphers after
fish
Fish are aquatic, craniate, gill-bearing animals that lack limbs with digits. Included in this definition are the living hagfish, lampreys, and cartilaginous and bony fish as well as various extinct related groups. Approximately 95% of li ...
. It was mainly an electro-mechanical machine, containing no more than a couple of dozen
valves (vacuum tubes), and was the predecessor to the electronic
Colossus computer
Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves (vacuum tubes) to perform Boolean and counting operations. Colossus ...
. It was dubbed "Heath Robinson" by the
Wrens
Wrens are a family of brown passerine birds in the predominantly New World family Troglodytidae. The family includes 88 species divided into 19 genera. Only the Eurasian wren occurs in the Old World, where, in Anglophone regions, it is comm ...
who operated it, after cartoonist
William Heath Robinson
William Heath Robinson (31 May 1872 – 13 September 1944) was an English cartoonist, illustrator and artist, best known for drawings of whimsically elaborate machines to achieve simple objectives.
In the UK, the term "Heath Robinson contr ...
, who drew immensely complicated mechanical devices for simple tasks, similar to (and somewhat predating)
Rube Goldberg
Reuben Garrett Lucius Goldberg (July 4, 1883 – December 7, 1970), known best as Rube Goldberg, was an American cartoonist, sculptor, author, engineer, and inventor.
Goldberg is best known for his popular cartoons depicting complicated gadge ...
in the U.S.
The functional specification of the machine was produced by
Max Newman
Maxwell Herman Alexander Newman, FRS, (7 February 1897 – 22 February 1984), generally known as Max Newman, was a British mathematician and codebreaker. His work in World War II led to the construction of Colossus, the world's first operatio ...
. The main engineering design was the work of Frank Morrell at the
Post Office Research Station
The Post Office Research Station was first established as a separate section of the General Post Office in 1909.
In 1921, the Research Station moved to Dollis Hill, north west London, initially in ex-army huts.
The main permanent buildings at ...
at Dollis Hill in North London, with his colleague
Tommy Flowers
Thomas Harold Flowers MBE (22 December 1905 – 28 October 1998) was an English engineer with the British General Post Office. During World War II, Flowers designed and built Colossus, the world's first programmable electronic computer, to help ...
designing the "Combining Unit".
Dr
C. E. Wynn-Williams
Charles Eryl Wynn-Williams (5 March 1903 – 30 August 1979), was a Welsh physicist, noted for his research on electronic instrumentation for use in nuclear physics. His work on the scale-of-two counter contributed to the development of the moder ...
from the
Telecommunications Research Establishment
The Telecommunications Research Establishment (TRE) was the main United Kingdom research and development organization for radio navigation, radar, infra-red detection for heat seeking missiles, and related work for the Royal Air Force (RAF) d ...
at Malvern produced the high-speed electronic valve and relay counters.
[ in ''1. Introduction: Some historical notes''] Construction started in January 1943, the prototype machine was delivered to Bletchley Park in June and was first used to help read current encrypted traffic soon afterwards.
As the Robinson was a bit slow and unreliable, it was later replaced by the
Colossus computer
Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves (vacuum tubes) to perform Boolean and counting operations. Colossus ...
for many purposes, including the methods used against the twelve-rotor Lorenz SZ42 on-line teleprinter cipher machine (code named Tunny, for tunafish).
Tutte's statistical method
The basis of the method that the Heath Robinson machine implemented was
Bill Tutte's "1+2 technique". This involved examining the first two of the five impulses of the characters of the message on the
ciphertext
In cryptography, ciphertext or cyphertext is the result of encryption performed on plaintext using an algorithm, called a cipher. Ciphertext is also known as encrypted or encoded information because it contains a form of the original plaintext ...
tape and combining them with the first two impulses of part of the key as generated by the
wheels of the Lorenz machine. This involved reading two long loops of paper tape, one containing the ciphertext and the other the
component of the key. By making the key tape one character longer than the message tape, each of the 1271 starting position of the
1 2 sequence was tried against the message. A count was amassed for each start position and, if it exceeded a pre-defined "set total", was printed out. The highest count was the most likely one to be the one with the correct values of
1 and
2. With these values, settings of the other
wheels could be tried to break all five
wheel starting positions for this message. This then allowed the effect of the
component of the key to be removed and the resulting modified message attacked by manual methods in the
Testery
The Testery was a section at Bletchley Park, the British codebreaking station during World War II. It was set up in July 1942 as the "FISH Subsection" under Major Ralph Tester, hence its alternative name. Four founder members were Tester himself ...
.
Tape transport
The "bedstead" was a system of pulleys around which two continuous loops of tape were driven in synchrony. Initially this was by means of a pair of sprocket wheels on a common axle. This was changed to drive by friction pulleys with the sprocket wheels maintaining the synchrony when it was found that this caused less damage to the tapes. Speeds of up to 2000 characters per second were achieved for shorter tapes, but only 1000 for longer tapes. The tapes were guided past an array of photo-electric cells where the characters and other signals were read.
[ in ''54. Robinson: Bedsteads and Position Counting''] Possible tape lengths on the bedstead were from 2000 to 11,000 characters.
Tape reading
The perforated tapes were read photo-electrically at a "gate" which was placed as near as possible to the
sprocket to reduce the effect of stretched tapes. Successive characters on the tape were read by a battery of ten photocells, an eleventh for the sprocket holes and two additional ones for the "stop" and "start" signals that were hand-punched between the third and fourth and fourth and fifth channels.
Combining unit
This was designed by
Tommy Flowers
Thomas Harold Flowers MBE (22 December 1905 – 28 October 1998) was an English engineer with the British General Post Office. During World War II, Flowers designed and built Colossus, the world's first programmable electronic computer, to help ...
of the
Post Office Research Station
The Post Office Research Station was first established as a separate section of the General Post Office in 1909.
In 1921, the Research Station moved to Dollis Hill, north west London, initially in ex-army huts.
The main permanent buildings at ...
at Dollis Hill in North London.
It used
thermionic valves
A vacuum tube, electron tube, valve (British usage), or tube (North America), is a device that controls electric current flow in a high vacuum between electrodes to which an electric potential difference has been applied.
The type known as a ...
(vacuum tubes) to implement the logic. This involved the
Boolean "exclusive or" (XOR) function in combining the various bit-streams. In the following "
truth table
A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional argumen ...
", 1 represents "true" and 0 represents "false". (At Bletchley Park these were known as x and • respectively.)
Other names for this function are: "not equal" (NEQ), "
modulo 2 addition" (without carry) and "modulo 2 subtraction" (without 'borrow'). Note that modulo 2 addition and subtraction are identical. Some descriptions of Tunny decryption refer to addition and some to differencing, i.e. subtraction, but they mean the same thing.
The combining unit implemented the logic of
Tutte's statistical method. This required that the paper tape containing the ciphertext was tried against a tape that contained the component of the Lorenz cipher machine generated by the relevant two ''chi'' wheels at all possible starting positions. A count was then made of the total number of 0s generated, with a high count indicating a greater probability of the starting position of the ''chi'' key sequence being correct.
Counting
Wynn-Williams had obtained his PhD at Cambridge University for his work at the
Cavendish Laboratory
The Cavendish Laboratory is the Department of Physics at the University of Cambridge, and is part of the School of Physical Sciences. The laboratory was opened in 1874 on the New Museums Site as a laboratory for experimental physics and is named ...
with
Sir Ernest Rutherford
Ernest Rutherford, 1st Baron Rutherford of Nelson, (30 August 1871 – 19 October 1937) was a New Zealand physicist who came to be known as the father of nuclear physics.
''Encyclopædia Britannica'' considers him to be the greatest ...
. In 1926 he had constructed an amplifier using
thermionic valves
A vacuum tube, electron tube, valve (British usage), or tube (North America), is a device that controls electric current flow in a high vacuum between electrodes to which an electric potential difference has been applied.
The type known as a ...
(vacuum tubes) for the very small electrical currents arising from detectors in their nuclear disintegration experiments. Rutherford had got him to devote his attention to the construction of a reliable valve amplifier and methods of registering and counting these particles. The counter used gas-filled
Thyratron tubes which are
bi-stable
In a dynamical system, bistability means the system has two stable equilibrium states. Something that is bistable can be resting in either of two states. An example of a mechanical device which is bistable is a light switch. The switch lever ...
devices.
The counters that Wynn-Williams designed for Heath Robinson, and subsequently for the
Colossus computer
Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves (vacuum tubes) to perform Boolean and counting operations. Colossus ...
s used thyratrons to count units of 1, 2, 4, 8; high speed
relay
A relay
Electromechanical relay schematic showing a control coil, four pairs of normally open and one pair of normally closed contacts
An automotive-style miniature relay with the dust cover taken off
A relay is an electrically operated switch ...
s to count units of 16, 32, 48, 64; and slower relays to count 80, 160, 240, 320, 400, 800, 1200, 1600, 2000, 4000, 6000, and 8000.
The count obtained for each run-through of the message tape was compared with a pre-set value, and if it exceeded it, was displayed along with a count that indicated the position of the key tape in relation to the message tape. The Wren operators initially had to write down these numbers before the next count that exceeded the threshold was displayed – which was "a fruitful source of error",
[ in ''52. Development of Robinson and Colossus''] so a printer was soon introduced.
Robinson developments
The original Heath Robinson was a prototype and was effective despite a number of serious shortcomings.
All but one of these, the lack of "spanning" ability, were progressively overcome in the development of what became known as "Old Robinson". However,
Tommy Flowers
Thomas Harold Flowers MBE (22 December 1905 – 28 October 1998) was an English engineer with the British General Post Office. During World War II, Flowers designed and built Colossus, the world's first programmable electronic computer, to help ...
realised that he could produce a machine that generated the key stream electronically so that the main problem of keeping two tapes synchronised with each other would be eliminated. This was the genesis of the Colossus computer.
Despite the success of Colossus, the Robinson approach was still valuable for certain problems. Improved versions were developed, nicknamed Peter Robinson and Robinson and Cleaver after department stores in London. A further development of the ideas was a machine called Super Robinson or Super Rob. Designed by Tommy Flowers, this one had four bedsteads to allow for running four tapes and was used for running depths and "cribs" or
known-plaintext attack
The known-plaintext attack (KPA) is an attack model for cryptanalysis where the attacker has access to both the plaintext (called a crib), and its encrypted version (ciphertext). These can be used to reveal further secret information such as secr ...
runs.
References and notes
Bibliography
* in
*
*
*
*
*
* That version is a facsimile copy, but there is a transcript of much of this document in '.pdf' format at: , and a web transcript of Part 1 at:
* in
* in
*
*
*
* in
* Transcript of a lecture given by Prof. Tutte at the
University of Waterloo
The University of Waterloo (UWaterloo, UW, or Waterloo) is a public research university with a main campus in Waterloo, Ontario
Waterloo is a city in the Canadian province of Ontario. It is one of three cities in the Regional Municipality ...
{{refend
Computer-related introductions in 1943
Cryptanalytic devices
English inventions
World War II military equipment of the United Kingdom
Bletchley Park