The Secret History of Codes and Code Breaking by Simon Singh
http://www.simonsingh.net/The_Code_Book.html