Is the book you were referring to "The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography" by Simon Singh?
Amazon link - http://amzn.to/dlNAeO
It's on my reading shelf right now, but I have not gotten around to reading it. I think your comment just might make that happen. Thanks for the recommendation