The machine
Most Turing-Welchman Bombes were built to about the same standard size. Early versions were about 2,124 mm (84 inches) wide and later versions around 2,250 mm (88 inches); the height was 2,000 mm (78 inches) including the castors, and the depth 600 mm (24 inches). The difference in width came from standardising the frame, around mid-1943, to suit both three- and four-wheel BTM machines. Each weighed about a ton.
On the front of the cabinet are three groups of 36 shafts, each group a 12 × 3 array called a chain. Round each shaft are electrical contacts in four concentric circles. Each column of 3 shafts simulates a complete Enigma machine, with the top row turning fastest and the bottom row slowest.
It’s important to note that the drums on the Bombe run the opposite way to what you might expect from the Enigma machine. The top row on the Bombe spins fastest, but stands for the “slowest”, leftmost rotor on the Enigma, which normally turns only once every 26 × 26 letters. The bottom row of each chain on the Bombe is the right-hand rotor on the Enigma, which turns once for each letter enciphered.
An Enigma rotor has 26 contacts on each side, to pass the signal from one side to the other, through the reflector and back through the rotors again. The Bombe needed a slightly different method, as one group of Enigma rotors had to connect directly to others in series. So the designers created a double-ended scrambler, so a signal could pass through a drum both ways: once inwards towards the reflector, and once again, through the other circles of contacts, back away from it.
Each drum fitted onto a commutator, connected by 104 wire brushes that touched each of the contacts as it turned. There was a Bombe drum for each of the Enigma rotors, with (mostly) the same wiring as the real rotors. Possibly by mistake, drums I, II, III, VI, VII and VIII on the Bombe are one letter ahead of the matching Enigma rotors, drum IV is two steps ahead, and drum V three steps ahead. The drums were colour-coded, so the operators knew which drum matched which rotor: I red, II maroon, III green, IV yellow, V brown, VI cobalt (blue), VII jet (black) and VIII silver.
The carry
The top row of drums in each chain was driven together by an electric motor, and the middle row moved on one position each time the top drums had gone through all 26 positions (this was called a carry). Likewise, the bottom drums all moved on as the middle drums completed a full turn, so all 26 × 26 × 26 = 17,576 possible start positions of the Enigma scrambler could be tested.
However, the Bombe was not a true cyclometer: it could not carry between neighbouring commutator segments of the top drums and keep sensing for a result at the same time, even with the high-speed Siemens-type relays of the later machines. The Bombe simulated here is a three-wheel, 36-Enigma version, and there were two basic types, a 39-point machine and a 30-point machine. Our simulation is of a 39-point machine, where a point is one 26th of a turn of the top drums, or one sense point.
Depending on the model, the carry takes from 13 character times, or points (on a 39-point machine), down to 4 points (on a 30-point machine). On each model, the first sensing takes place during the first full turn of 26 points (sensing is when the Bombe actually tests the wiring for a contradiction), followed by a period of no sensing while the carry mechanism moves the middle drums on one position. On our 39-point machine this took a further 13 steps, whereas the 30-point machine’s faster carry needed just 4.
So the pattern on a 39-point machine is 26 points of sensing followed by 13 points of no sensing while the carry operates. This then repeats: another 26 points of testing, then a second 13 points of no sensing. So the top drums turn fully 3 times while the middle drums step on only twice. The carry for the bottom drums could happen at leisure, stepping one point for each full turn of the middle drums.
The time a 39-point Bombe takes to sense all 17,576 combinations of drum positions therefore depends on how many carries it can do a minute. Our Bombe is designed for 65 carries a minute, so a full run, if not interrupted, takes 10.4 minutes (26 × 26 ÷ 65).
How the Bombe worked
Alan Turing realised that the relationship between a crib (a guess at the plain text of the message) and the enciphered message could be used to greatly reduce the number of possible Enigma settings. The fact that Enigma could never encipher a letter as itself helped in placing the crib, and then we can sometimes find pairs of letters enciphered at different places in the crib that form a loop of letters.
| Position | abcdefghijklmnopq |
|---|---|
| Cipher | JYCQRPRYDEMCJMRSR |
| Crib | SPRUCHNUMMERXEINS |
| Loop | ......|........|| |
In this example, R enciphers to N at position g, N to S at p, and S to R at q, making a loop. A diagram of such loops was known as a menu.
If we take three Enigma machines, each with the same plugboard (stecker) settings and the correct daily settings, and wire them together, we can set the first Enigma’s rotors to the positions they would be in at position g, the second at position p, and the third at position q.
At this correct position, we have a continuous loop of wire. Starting at the letter R, which is steckered to some unknown value S1, it runs through the wiring of the first Enigma and comes out at another unknown value, S2, which we know steckers back to the letter N.
We then wire this to the second Enigma at the letter N, which we know steckers to S2. It runs through the wiring of the second Enigma and comes out at S3, which we also know steckers to the letter S at this position.
Finally, we wire this to the letter S on the third Enigma, which likewise steckers to S3. This time, after passing through the third Enigma’s wiring, it must come back to S1, so that it is steckered to the original letter R again.
If our Enigma machines are all in the correct position, this loop of wire, given a voltage, will light the lamp on the wire. The clever part is that we have completely avoided needing to know the values of the steckers S1, S2 and S3, which make up a large part of the enormous number of possible Enigma daily settings.
Take the loop above, R → N → S → R. Three opened-out Enigmas are connected one after the other, and the bottom drums are turned to the offsets g, p and q. If the correct drum order is being used, there will be a start position of the top, middle and bottom drums that matches the original Enigma’s core rotor positions. At that point the encipherments will be the same as on the original Enigma.
So a voltage placed on the S1 input of the first opened-out Enigma (the stecker of R) will come out on the S2 terminal (the stecker of N). As this is connected to the next opened-out Enigma, it goes in on its S2 terminal and comes out on S3 (the stecker of S). S3 then goes through the third opened-out Enigma and comes out at S1, the stecker of R. So at these drum positions, S1 → S2 → S3 → S1.
Now we connect the outputs of the last opened-out Enigma back to the inputs of the first. This forms a loop of wire not connected to any other terminal on any opened-out Enigma.
If we put a strip of 26 lamps on every join between the opened-out Enigmas and put a voltage on the S1 input, it will go nowhere else and appear only on the S1, S2 and S3 lamps, confirming the loop.
Now comes Turing’s other clever idea. If we don’t know S1 and just guess a wire to put the voltage on (say A), the voltage will spread through the opened-out Enigmas, as they are joined output to input, but it can never reach the S1, S2, S3 loop, because that loop is connected only to itself. So lots of lamps will light, but not the core letters S1, S2 or S3, which can be read as the steckers of the letters in the menu.
If the drums are not in the correct position, the S1, S2, S3 loop doesn’t exist, and the voltage can reach those terminals too, lighting every terminal. This means there is no possible stecker letter, so the drums can’t be in the correct position.
If we automate changing the rotor positions to check each possibility, and each time check whether all 26 lamps are lit, we can quickly reject a position and move on. If either 1 or 25 lamps are lit, we have found our closed loop of wire and have a possible solution. This is the test the Bombe runs to find the Enigma’s daily setting.
The diagonal board
After the first Bombe was designed and built, Gordon Welchman, a colleague of Turing’s at Bletchley Park, realised that an improvement could greatly reduce the number of false stops and also simplify some of the menus.
He realised that the stecker was reciprocal, and that this could be wired into the Bombe. For example, if D was steckered to a, then a must also be steckered to D.
The simplified Bombe diagrams below are from Graham Ellsbury’s ellsbury.com, copyright © Graham Ellsbury 1998, reproduced with permission. The site gives a very good explanation of the Bombe and its wiring and is well worth a read.
Figure 3.2 shows a simplified Bombe wiring diagram with wires for only the letters A to H, as the full wiring of a 26-connection Bombe is too complex to show here.
The diagonal board on the back of the Bombe isn’t, as you might expect, laid out diagonally: it is one of three columns of connectors marked A to Z. In this image from Virtual Bombe, the diagonal board for the first chain is the first column on the left, for the second chain the fourth column in, and for the third chain the third from the right.
Figure 3.3, also from ellsbury.com, shows how the double-ended drums on the front of the Bombe connect into the wiring at the back. This example connects up a crib and cipher 9 characters long, so 9 drums are plugged in. (How to design, draw and plug up a menu is shown in the tutorial.)
The drums are plugged between the wires for each letter, matching the cipher and crib letters at each position in the menu, with the drums set to the right start positions. This wiring represents the loops in the menu, as described above.
We also choose one of the letters as the test register (here E). This is normally one of the best-connected letters in the menu, and its wires are the ones the Bombe watches to see which have a voltage and which don’t.
Examples of valid stops
This is a Bombe in mid-sense, checking for a valid stop; here the drums are correct and in the right position. A voltage is applied to one wire (the “a” wire in the E cable, shown bold), and we check which other wires in the test register are then live. We are testing the hypothesis that A is steckered to E.
You can follow how this wire connects, through both the drums and the diagonal board, to make all the other wires being sensed live, leaving only the “b” wire dead. The dead wires in the cables show that A is steckered to G, B to E, C is self-steckered, D is steckered to F, and H is self-steckered.
Our hypothesis (A to E) isn’t correct, but the loop still shows up, because the voltage can’t get into it, leaving one wire unpowered.
The second example, Figure 4.2, shows the same correct drums and position, but this time the voltage goes in on the b wire of the E cable, testing the hypothesis that B is steckered to E.
This time we have the correct stecker, so the wiring connects through the drums and the diagonal board but can’t get out to any of the other wires, leaving just the one wire live. Again, this is a valid stop.
Find out more
I recommend a visit to ellsbury.com, which has a very good, detailed description of how the Bombe worked.
To learn more about Enigma, how it was broken and how cribs were made, I highly recommend a visit to Bletchley Park.
To see a working reconstruction of a Bombe (as well as a working Colossus), you must visit The National Museum of Computing, also on the Bletchley Park estate (with a separate small entry fee).