"Seizing The Enigma: The Race To Break The German U-boat Codes, 1939-1943"
David Kahn
A fascinating account of the famous German Enigma code machine, as used by the Third Reich before and during the Second World War. Kahn relates the history of the machine as well as techniques and trends in cryptology--codes and codebreaking--starting around the turn of the 20th century. The story follows a several groups of cryptologists and mathematicians who were up against the most advanced cipher creator in history up to that point.
In the past, secret codes had been constructed using more or less simple word and letter replacement techniques. An elementary example of a coding technique would be to assign each letter in the alphabet to some other letter (A= R, B = M, C = E, and so on). A message could then be enciphered using this alternate alphabet, called a cipher key, and deciphered using the same key by the message recipient. This method had many flaws, however, and was easily cracked using rudimentary statistical and linguistic techniques. Even more advanced ways of coding messages still fell back on this basic premise. The Enigma machine, however, used a combination of mechanical and electrical elements to create ciphers that were, ostensibly, unbreakable. These elements have been calculated to provide a military-grade Enigma machine, as used on German U-boats in WW2, with about 156 quintillion possible code cipher combinations. That is what Polish and British (and to a lesser extent American) cryptologists were up against as they sought to break German codes during the war. The story of how they both failed and succeeded, and the accompanying tales including battles, high-stakes raids, military and political hubris, and determination makes for a rewarding read.
The book is extremely detailed and well-researched. The mathematical parts, and the technical descriptions of the working of the machine, is difficult for a layperson like me to follow, but still highly interesting. One of the highlights of my reading so far this year.