John William Jamieson Herivel (29 August 1918 – 18 January 2011)[1] was a British science historian and World War II codebreaker at Bletchley Park.[2]

As a codebreaker concerned with Cryptanalysis of the Enigma, Herivel is remembered chiefly for the discovery of what was soon dubbed the Herivel tip or Herivelismus. Herivelismus consisted of the idea, the Herivel tip and the method of establishing whether it applied using the Herivel square.[3] It was based on Herivel's insight into the habits of German operators of the Enigma cipher machine that allowed Bletchley Park to easily deduce part of the daily key. For a brief but critical period after May 1940, the Herivel tip in conjunction with "cillies" (another class of operator error) was the main technique used to solve Enigma.

After the war, Herivel became an academic, studying the history and philosophy of science at Queen's University Belfast, particularly Isaac Newton, Joseph Fourier, Christiaan Huygens. In 1956, he took a brief leave of absence from Queen's to work as a scholar at the Dublin Institute for Advanced Studies. In retirement, he wrote an autobiographical account of his work at Bletchley Park entitled Herivelismus and the German Military Enigma.[4]

Recruitment to Bletchley Park

edit

John Herivel was born in Belfast, and attended Methodist College Belfast from 1924 to 1936. In 1937 he was awarded a Kitchener Scholarship to study mathematics at Sidney Sussex College, Cambridge, where his supervisor was Gordon Welchman.[5][6] Welchman recruited Herivel to the Government Code and Cypher School (GC&CS) at Bletchley Park. Welchman worked with Alan Turing in the newly formed Hut 6 section created to solve Army and Air Force Enigma.[7] Herivel, then aged 21, arrived at Bletchley on 29 January 1940,[8] and was briefed on Enigma by Alan Turing and Tony Kendrick.[9]

Enigma

edit
 
Military Enigma machine.

At the time that Herivel started work at Bletchley Park, Hut 6 was having only limited success with Enigma-enciphered messages, mostly from the Luftwaffe Enigma network known as "Red".[7][9][10] He was working alongside David Rees, another Cambridge mathematician recruited by Welchman, in nearby Elmers School, testing candidate solutions and working out plugboard settings.[7] The process was slow, however, Herivel was determined to find a method to improve their attack, and he would spend his evenings trying to think up ways to do so.[9]

Intercepted Morse coded messages had been enciphered by the Germans' Enigma, an electro-mechanical rotor cipher machine that implemented a polyalphabetic cipher. The main model in use in 1940 had three rotors that set an electrical pathway from the keyboard to the lampboard. Pressing a key caused one lamp to light and the right-most rotor to advance by one letter position. This changed the electrical pathway so that pressing the same key again caused a different letter to light up. At one of the 26 positions, a notch on the right-most rotor engaged with the middle rotor so that the two rotors advanced together, and similarly the middle rotor would engage with the left-most rotor, giving a very long period before the sequence repeated (26 × 26 × 26 = 17,576). The ring on the rotor that contained the notch and so caused the next rotor to advance, could be set to any one of the 26 positions. The three rotors were selected from a set of five, giving 60 different ways of mounting rotors in the machine. However, because the Germans laid down the rule that no rotor should be in the same position on successive days, if the previous days's rotors and their positions were known, this number was reduced to 32.[citation needed]

The Enigma machine worked reciprocally so that an identical machine with identical settings would, if fed the enciphered letters, show the deciphered letters on the lampboard. Hut 6 had Enigma replica machines that were logically identical to the machines that the Germans were using. To decipher the intercepted messages required that the selection of rotors, the ring settings and the plugboard connections were known. At this time, the first three letters of the prelude to the message were used as an indicator to tell the receiving operator the letters that should appear in the windows for this particular message.[11]

Herivel tip

edit
 
Two Enigma rotors showing electrical contacts, stepping ratchet (on the left) and notch (on the right-hand rotor opposite letter D).

Herivel had an insight in February 1940 that some lazy German code clerks might give away the Enigma's ring settings (Ringstellung) in their first message of the day. If there were several lazy clerks, the first message Grundstellungs would not be random but would have a clustering around the Ringstellung.[12] The insight became known as the Herivel tip. It was not needed at the time because the Luftwaffe was doubly-enciphering their message keys so techniques such as Zygalski sheets could be used. In May 1940, the Germans stopped the doubly-enciphered keys.[13] Other methods becoming ineffective, Bletchley Park started using the Herivel tip to break Luftwaffe traffic. It continued to be the main method until the bombe was delivered in August 1940.[14][15][16]

Enigma enciphering procedure

edit

The rotors and the positioning of the ring containing the notch were changed daily. The settings were defined in a codebook that was common to all operators on that network. At the start of each day, before any messages were sent or received, Enigma operators implemented the day's rotor selection and ring settings. Having selected the three rotors, they adjusted the ring settings. That could be done before the rotors were mounted on their axle or after they had been inserted into the machine. It was possible to adjust the ring settings of the loaded rotors by moving the spring-loaded retaining pin to the right and turning the rotor to display the specified letter. Herivel thought it likely that at least some of the operators would adjust the rings after they had mounted the rotors in the machine.[17] Having set the alphabet rings and closed the lid, the operator should then have moved the rotors well away from the positions that displayed the three letters of the ring setting in the windows, but some operators did not.

 
Three rotors inside an Enigma machine. In the middle rotor, the ring setting pin can be seen with a small red indicating arrow adjacent to the 01 position. To adjust the ring setting, the spring-loaded pin could be moved to the right to allow the ring to be turned until at the desired position.

Herivel's great insight came to him one evening in February 1940 while he was relaxing in front of his landlady's fire. Stressed or lazy operators who had set the rings when the rotors were in the machine might then have left ring setting at or near the top and used those three letters for the first message of the day.[18]

For each transmitted message, the sending operator would follow a standard procedure. From September 1938, he would use an initial position to encrypt the indicator and send it in clear, followed by the message key that had been enciphered at that setting. If the ground setting (German: Grundstellung) was GKX for example, he would then use Enigma with the rotors set to GKX to encrypt the message setting, which he might choose to be RTQ; which might encrypt to LLP. (Before May 1940, the encrypted message setting was repeated, but that makes no difference to Herivel's insight.) The operator would then turn his rotors to RTQ and encrypt the actual message. Thus, the preamble to the message would be the unencrypted ground setting (GKX), followed by the encrypted message setting (LLP). A receiving Enigma operator could use the information to recover the message setting and then decrypt the message.

The ground setting (GKX in the above example) should have been chosen at random, but Herivel reasoned that if operators were lazy, in a hurry or otherwise under pressure, they might simply use whatever rotor setting was currently showing on the machine.[17] If that was the first message of the day and the operator had set the ring settings with the rotors already inside the machine, the rotor position currently showing on the machine could well be the ring setting itself or be very close to it. (If that situation occurred in the above example, GKX would be the ring setting or close to it).

Polish cryptographers used the idea at PC Bruno during the Phoney War.[19]

Herivel square

edit

The day after his insight, Herivel's colleagues agreed that his idea was a possible way into Enigma.[8] Hut 6 began looking for the effect predicted by the Herivel tip and arranged to have the first messages of the day from each transmitting station to be sent to them early.[17] They plotted the indicators in a grid termed a "Herivel square",[20] an example of which is shown below. The rows and columns of the grid are labelled with the alphabet. The first indicator of the first message of the day received from each station on the network, was entered into the grid. It was done by finding the column corresponding to the first letter, the row corresponding to the second letter, and entering the third letter into the cell where the row and column intersected. For example, GKX would be recorded by entering a X in the cell in column G and row K.

   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
----------------------------------------------------------
Z|                                                      |Z
Y| S                                                    |Y
X|                                                      |X
W|                                             L        |W
V|                                                      |V
U|                       E                              |U
T|                                                      |T
S|                                                      |S
R|                                                 K    |R
Q|     S                                                |Q
P|                                                      |P
O|                                                      |O
N|                               N                      |N
M|           X                                          |M
L|             W T                                      |L
K|             X Y                                      |K
J|           W X                                        |J
I|                                                      |I
H|                                         Q            |H
G|                                                      |G
F|                                                      |F
E|           A                                          |E
D|                                                      |D
C|                     V                                |C
B|                                       J              |B
A|   P                                                  |A
----------------------------------------------------------
   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

The Herivel tip suggested that there would be a cluster of entries close together, such as the cluster around GKX in the above example. That would narrow the options for the ring settings down from 17,576 to a small set of possibilities, perhaps 6 to 30, which could be tested individually.

The effect predicted by Herivel did not immediately show up in the Enigma traffic,[18] however, and Bletchley Park had to continue to rely on a different technique to get into Enigma: the method of "perforated sheets", which had been passed on by Polish cryptologists. The situation changed on 1 May 1940, when the Germans changed their indicating procedure, rendering the perforated sheet method obsolete. Hut 6 was suddenly unable to decrypt Enigma.

Fortunately for the codebreakers, the pattern predicted by the Herivel tip began to manifest itself soon after on 10 May, when the Germans invaded the Netherlands and Belgium. David Rees spotted a cluster in the indicators,[17] and on 22 May a Luftwaffe message sent on 20 May was decoded, the first since the change in procedure.[21]

Additional key components

edit

Although the Herivel tip provided the Enigma's ring settings, it did not provide other parts of the Enigma key: the rotor order and the plugboard settings. A Luftwaffe key at the time chose from 5 rotors, so there were 60 possible rotor orders. In addition, there might be 8 to 10 plugboard connections, which means that all but 6 of the 26 letters are permuted by the plugboard. The codebreakers had to use other methods to find the remaining portions of the Enigma key.

The Herivel tip was used in combination with another class of operator mistake, known as "cillies", to solve the settings and decipher the messages.[18][22]

The Herivel tip was used for several months until specialised codebreaking machines designed by Alan Turing, the so-called "bombes", were ready for use.[23]

Recognition

edit

Gordon Welchman wrote that the Herivel tip was a vital part of breaking Enigma at Bletchley Park.

If Herivel had not been recruited in January 1940, who would have thought of the Herivel tip, without which we would have been defeated in May 1940 – unable to maintain continuity until the bombes began to arrive many months later? Let there be no misconceptions about this last point. Loss of continuity would, at all stages, have been very serious, if not disastrous."[24]

Because of the importance of his contribution, Herivel was singled out and introduced to Winston Churchill during a visit to Bletchley Park.[25] He also taught Enigma cryptanalysis to a party of Americans assigned to Hut 6 in an intensive two-week course.[26] Herivel later worked in administration in the "Newmanry", the section responsible for solving German teleprinter ciphers by using machine methods such as the Colossus computers,[27] as assistant to the head of the section, mathematician Max Newman.[28]

In 2005, researchers studying a set of Enigma-encrypted messages from World War II noted the occurrence of clustering, as predicted by the Herivel tip, in messages from August 1941.[29]

After World War II

edit

After the end of the war, Herivel taught mathematics in a school for a year,[6] but he found he could not handle the "rumbustious boys".[30] He then joined Queen's University Belfast, where he became reader in the History and Philosophy of Science. One of the students that he supervised was the actor Simon Callow, who said of him:

I was absolutely astonished. He was a wonderful teacher, in the old fashioned way. During his tutorials he used to make tea and toast crumpets by the fire. (He was) a very profound thinker but very unexpected in his approaches but there was no sense that he had done anything extraordinary with his life. That was his generation; they didn't kiss and tell.[31]

 
75 Lonsdale Road, Oxford, where Herivel died. A blue plaque commemorates him as 'mathematician and codebreaker'.[32][33]

He published books and articles on Isaac Newton, Joseph Fourier and Christiaan Huygens. His publications include:

  • Herivel, J. W. (April 1955), "The derivation of the equations of motion of an ideal fluid by Hamilton's principle", Mathematical Proceedings of the Cambridge Philosophical Society, 51 (2): 344–349, Bibcode:1955PCPS...51..344H, doi:10.1017/S0305004100030267, S2CID 122422156
  • Herivel, John (1965), The Background to Newton's Principia: A Study of Newton's Dynamical Researches in the Years 1664–84 Based on Original Manuscripts from the Portsmouth Collection in the Library of the University of Cambridge, Clarendon Press
  • Herivel, J. W. (December 1966), "Aspects of French Theoretical Physics in the Nineteenth Century", The British Journal for the History of Science, 3 (2): 109–132, doi:10.1017/S0007087400003794, S2CID 144562116 The research on which this paper is based was carried out in Paris in 1964 with the aid of a Bourse de Marque awarded by the French Government through their Embassy in London, and with a grant from the Research Committee of the Academic Council of the Queen's University, Belfast.
  • Herivel, John; Williams, L. Pearce (November 1975), "Joseph Fourier: the man and the physicist", Physics Today, 28 (11): 65, Bibcode:1975PhT....28k..65H, doi:10.1063/1.3069206
  • Herivel, John (1975), Joseph Fourier: the man and the physicist, Clarendon Press
  • Herivel, J. W. (December 1960), "Newton's Discovery of the Law of Centrifugal Force", Isis, 51 (4): 546–553, doi:10.1086/349412, JSTOR 228612, S2CID 143523512
  • Herivel, J. W. (December 1965), "Newton's First Solution to the Problem of Kepler Motion", The British Journal for the History of Science, 2 (4): 350–354, doi:10.1017/s0007087400002508, JSTOR 4024891, S2CID 121724711
  • Herivel, John W. (1970), "Newton's achievement in dynamics", The Annus Mirabilis of Sir Isaac Newton: 1666-1966: 120–135

In 1978 he retired to Oxford, where he became a Fellow of All Souls College.[6] In his retirement he published:

  • Herivel, John (2008), Herivelismus and the German Military Enigma, M & M Baldwin

He died in Oxford in 2011.[34]

He is survived by his daughter Josephine Herivel.

Notes

edit
  1. ^ Smith, Michael (13 February 2011), "John Herivel obituary: One of Bletchley Park's most brilliant wartime codebreakers", The Guardian, retrieved 20 July 2011
  2. ^ "Special Forces Obituaries: John Herivel", The Telegraph, 20 July 2011, retrieved 20 July 2011
  3. ^ Herivel 2008, p. 10
  4. ^ Herivel 2008
  5. ^ Herivel 2008, p. 75
  6. ^ a b c "Obituary – John Herivel", Methodist College Belfast, 28 January 2011, archived from the original on 27 July 2011, retrieved 20 July 2011
  7. ^ a b c Sebag-Montefiore 2000, p. 90
  8. ^ a b Welchman 1997, p. 200
  9. ^ a b c Smith 1998, p. 42
  10. ^ Welchman 1997, p. 230
  11. ^ Rijmenants, Dirk, "Enigma Message Procedures", Cipher Machines and Cryptology, retrieved 19 November 2009
  12. ^ Sebag-Montefiore 2000, p. 81
  13. ^ Stripp, Alan (9 November 1999). "How the Enigma Works". NOVA. PBS Online.
  14. ^ "Bletchley Park – Remembering Herivel and the Herivel Tip". 23 January 2011. Retrieved 5 August 2016. However, on the 1st of May, the Germans changed their methods, rendering the existing techniques inoperable. Alan Turing and his team had already anticipated this change, and were building a machine (the Bombe – in effect a computer) to decode the messages. That left a people [sic] from the 1st of May to the 1st of August, while the Bomb was being built.
  15. ^ Sebag-Montefiore 2000, p. 81 states that Bletchley looked for the clusters but did not find any until May 1940. "After the Germans altered their indicator system on 1 May 1940, which meant that no Enigma messages, other than those in Norway, were being read, Herivel's idea became even more important, since it was one of the few leads that the codebreakers had."
  16. ^ Hinsley et al. 1988 says the first British bombe arrived 18 March 1940. Hinsley states that "Welchman's ... explanation of the 'Herivel tip' is incomplete." F. H. Hinsley, E. E. Thomas, C. A. G. Simkins, C. F. G. Ransom, British Intelligence in the Second World War: Its Influence on Strategy and Operations, Vol 3 Part 2, Cambridge University Press, British Crown Copyright, ISBN 0-521-351960 p. 954
  17. ^ a b c d Smith 1998, p. 43
  18. ^ a b c Sebag-Montefiore 2000, p. 91
  19. ^ Kozaczuk, Władysław (1984), Kasparek, Christopher (ed.), Enignma: How the German Machine Cipher was Broken, and How it was Read by the Allies in World War Two, University Publications of America, pp. 83–84, ISBN 0-89093-547-5, "... it was found that the German encipherers, after setting their Enigmas in the starting position and closing the metal lid, were selecting as the message key (Spuchschlüssel) the letters visible in the glass windows.
  20. ^ Welchman 1997, p. 100
  21. ^ Sebag-Montefiore 2000, p. 92
  22. ^ Welchman 1997, pp. 104–110
  23. ^ Welchman 1997, p. 231
  24. ^ Welchman 1997, p. 223
  25. ^ Smith 1998, p. 78
  26. ^ American 6813 Division History, October 1945, retrieved 20 July 2011
  27. ^ Good 1993, pp. 160–161
  28. ^ Newman, William (2006), "Max Newman—Mathematician, Codebreaker, and Computer Pioneer", in Copeland, B. Jack (ed.), Colossus: The Secrets of Bletchley Park's Codebreaking Computers, Oxford: Oxford University Press, pp. 176–188, ISBN 978-0-19-284055-4
  29. ^ Sullivan, Geoff; Weierud, Frode (2005), "Breaking German Army Ciphers" (PDF), Cryptologia, vol. 29, no. 3, pp. 193–232, doi:10.1080/01611190508951299, S2CID 23474156, archived from the original (PDF) on 24 August 2006, retrieved 20 July 2011
  30. ^ Jones, Daniel (27 May 2001), Bletchley Revisited: Modest War Hero Returns to the Scene of his Greatest Code-Cracking Triumph, archived from the original on 24 December 2012, retrieved 20 July 2011
  31. ^ Simon Callow's Codebreaker Surprise: Thespian's university tutor was influential Codebreaker, John Herivel., Bletchley Park Trust, 5 November 2013, retrieved 8 February 2014
  32. ^ "WW2 Bletchley Park codebreaker John Herivel awarded plaque". BBC News. UK: BBC. 10 May 2014. Retrieved 29 December 2015.
  33. ^ Plaque #31149 on Open Plaques
  34. ^ "John Herivel: Bletchley Park codebreaker", Oxford Mail, 17 February 2011

References

edit
edit
  • "Mind of a Codebreaker", companion web site to "Decoding Nazi Secrets", originally broadcast on 9 November 1999. Part one and part two. (Contains similar material on the Herivel Tip to Smith, 1998).