Search  for anything...

The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography

Based on 2,210 reviews
Condition: New
Checking for the best price...
$10.83
Save $13.16 was $23.99

Buy Now, Pay Later


As low as $2 / mo
  • – 4-month term
  • – No impact on credit to apply
  • – Instant approval decision
  • – Secure and straightforward checkout

Ready to go? Add this product to your cart and select a plan during checkout.

Payment plans are offered through our trusted finance partners Klarna, Affirm, Afterpay, Zip, Apple Pay, and Google Pay. No-credit-needed leasing options through Acima may also be available at checkout.

Learn more about financing & leasing here.

Free shipping on this product

30-day refund/replacement

To qualify for a full refund, items must be returned in their original, unused condition. If an item is returned in a used, damaged, or materially different state, you may be granted a partial refund.

To initiate a return, please visit our Returns Center.

View our full returns policy here.


Availability: Only 4 left in stock, order soon!
Fulfilled by Amazon

Arrives Thursday, Oct 29
Order within 12 hours and 14 minutes

Available payment plans shown during checkout

Protect Your Purchase

Easy claims online, fast replacements, no fees

Checking for protection plans...

At a glance

Condition
New
Dimensions
5.17 x 0.99 x 7.94 in
Weight
2.31 lb
Publisher
Vintage
Publication date
August 29, 2000
Edition
Reprint
Language
English

Description

In his first book since the bestselling Fermat's Enigma, Simon Singh offers the first sweeping history of encryption, tracing its evolution and revealing the dramatic effects codes have had on wars, nations, and individual lives. From Mary, Queen of Scots, trapped by her own code, to the Navajo Code Talkers who helped the Allies win World War II, to the incredible (and incredibly simple) logisitical breakthrough that made Internet commerce secure, The Code Book tells the story of the most powerful intellectual weapon ever known: secrecy. Throughout the text are clear technical and mathematical explanations, and portraits of the remarkable personalities who wrote and broke the world's most difficult codes. Accessible, compelling, and remarkably far-reaching, this book will forever alter your view of history and what drives it. It will also make you wonder how private that e-mail you just sent really is. Read more

Specs 9

Publisher Vintage
Publication date August 29, 2000
Edition Reprint
Language English
Print length 432 pages
ISBN-10 0385495323
ISBN-13 25
Item Weight 2.31 pounds

Frequently asked questions

If you place your order now, the estimated arrival date for this product is: Thursday, Oct 29

Yes, absolutely! You may return this product for a full refund within 30 days of receiving it.

To initiate a return, please visit our Returns Center.

View our full returns policy here.

  • Klarna Financing
  • Affirm Pay in 4
  • Affirm Financing
  • Afterpay Financing
  • Zip Pay in 4
  • Financing through Apple Pay
  • Financing through Google Pay
Leasing options through Acima may also be available during checkout.

Learn more about financing & leasing here.

Top Amazon Reviews


Entertaining and enlightening
Format: Paperback
This is a very well written and entertaining book that covers codes from the earliest ones to quantum computer codes. I liked the balance between historical information and some details about how codes and ciphers are created and broken. The book is written for a general audience, but also contains a lot of somewhat technical information, but is not so mathematical as to be inaccessible for most readers. I highly recommend this book to anyone interested in codes, ciphers and some of the privacy issues that are entailed with the use and decryption of them. What is in the book – The book goes beyond many others in the area of codes and ciphers in that it discusses very up to date topics (at least up to 1999 when the book was written), such as the ciphers being used for Internet transactions and questions of privacy and code breaking. The book also covers material on the deciphering of hieroglyphics and Linear-B, which are not covered in other books on codes. I found the sections on the techniques used to decipher messages enciphered with a Vigenére table and the algorithms employed by the DES and RSA systems to be very clear and enlightening. The book contains information on the Enigma machine and the work at Bletchley Park in Britain to decipher the messages sent on it. However, this material is not as detailed as the material in books such as Budainsky’s “Battle of Wits”, Kahn’s “Seizing the Enigma” or Sebag-Montefiore’s “The Battle for the Code”, so if this is your primary interest I would direct you to these sources. However, if your interest is more general then I think that “The Code Book” is an excellent choice. ... show more
Reviewed in the United States on February 10, 2014 by Metallurgist

A Great Way To Start Digging Into Cryptography
Format: Paperback
I've been developing an interest in physics as well as cryptography. I was turned on to Singh's The Code Book simply because it mentioned quantum physics in the title, a happy intersection between my two new hobby subjects. Soon after cracking it open, I realized that I'd picked up one of my favorite books in the past few years. Singh does a great job of laying out the history of cryptography (code writing) and cryptanalysis (code breaking, essentially) as well as explaining the logic behind each of the codes he discusses. It's a fascinating history that builds and builds upon itself, making it clear to the reader how the cryptography readily available to him/her now was born. All the while, Singh's explanation of the thought behind the codes is clear enough for a non-math major to quickly grasp (i.e. myself). I admit that the subject matter was right up my alley and this might not be the case for everyone, but I feel Singh's ability to weave a narrative into a convoluted subject (as it would be) is excellent and warrants a pick up. The history is sturdy enough to support just about any reader and the analysis of the logic is clear and simple to latch on to, even as it delves into some deeper details. In all, this was a great read and I'd highly recommend picking it up. ... show more
Reviewed in the United States on February 10, 2009 by Ryan

The Code Book--Masterpiece of Historical Significance & Present Secure Communications Quandaries.
Format: Paperback
From describing very descriptive ancient codes to the fascinating world of quantum computing this author touches on it all with very well illustrated examples to help clarify a very difficult and highly complex subject of cryptanalysis--- with its modern employment of linguists, mathematicians, and computer engineers. It's an ongoing quest to keep our PRIVACY from intrusions of all sources such as governments, business competitors, or prying eyes. There are many privacy issues that both governments and private citizens alike must face in today's technological world. These questions are posed and answered in many ways within the book. One caveat---recalling what our esteemed Statesman Benjamin Franklin once expressed---"Any one who will trade freedom for security deserves neither" The quandary is how government protects its citizens from acts of terror or how citizens may be protected by a tyrannical government--read this book Simon Singh has produced a manuscript that not only gives one a deeper insight into the world of cryptanalysis from a historical prospective but also the men and women involved in this complex field of science through out the ages,----the brilliant people from various and varied walks of life who have contributed immensely to this science past and present . It covers the humanist aspect from those involved with their various idiosyncrasies of behavior from the selling of data to foreign powers as well as personal behavior that could cause one to be blackmailed by enemies. This book is a can of worms in many respects since it opens up to the reader a world fraught with possible invasion of privacy -one of the most fundamental rights we should all hold dear--especially in America--and what avenues we have at our disposal to solve these dilemmas. The writing style Simon uses to explain the complex theories and problems that code breakers or code makers must use is exemplary and easily understood for the average layman--although he helps to have some advanced understanding of the sciences ---but it is not necessary in comprehending what the author conveys in this book. I found the Appendix in the rear especially helpful in my study of the very basic science of cryptanalysis as well as his simple examples on how it all pieces together to form the whole picture. Even though this book was written in 1999--- for those of us who are concerned about CURRENT EVENTS in this science the last chapter offers deeper insights and may be used as a springboard to investigate further developments of cryptanalysis and how we may apply it to our everyday life of sending emails, buying merchandize or researching various subjects. While the wide world of the internet has opened our vast horizons to knowledge and communications within a multitude of domains ---rest assure there is an army of cryptanalyst struggling to keep our messages and correspondence secure daily---or at least we HOPE THERE IS--or we may involve ourselves with political action to ensure our freedom of privacy? ... show more
Reviewed in the United States on April 26, 2013 by frogman

For people that enjoy the history and science genres
Format: Paperback
For people that enjoy the history and science genres, this is the perfect book. You get a balance of the history of ciphers and encryption over the course of human history while also learning about the technical details of how ciphers and encryption work (and how they are broken). The Code Book is extremely well written and after finishing it you really do feel like you learned something. Some other great aspects of this book are a Cipher Challenge at the end which allows you to test your codebreaking skills as well as multiple appendices for those who want to go even deeper into the technical areas of ciphers and encryption. My only complaint about this book is that it's aging. It was written in 1999, and the world of computing has changed a lot from 1999-2018. But don't let this fact deter you from reading The Code Book. The historical cipher/encryption knowledge that you learn about in the World Wars and the dawn of computing are very interesting. Even if you only want to focus on the modern aspects of encryption, I still recommend reading this book and then picking up something more modern after. ... show more
Reviewed in the United States on June 29, 2018 by George

This Book Will Open Your Eyes and Make a Complicated World of Secrecy Easy and Fun
Format: Kindle
If Simon Singh had been my professor, I would have been a Mathmatician or a Cryptographer. Such is his writing style and story telling ability that you are drawn in to the world of secret writing and educated on the how and why of cryptography throughout human history. You learn about simple ciphers to complex mechanisms for generating coded messages. You learn what works best, what is easily defeated and how it all ties together to make our daily internet interactions secure and safe. There is so much packed into this book that I was surprised and struck by how well the author told it all in such a small space. If you want to learn about cryptography, this is the book to start with. If you like spy-novels, this is several packed into one, and if you love tales of unsung heroes who saved the world, this is your book. I have bought copies of this for several friends and family members, it is that good. ... show more
Reviewed in the United States on June 2, 2013 by J. C. Little

Still a pleasure
Format: Kindle
For many years those of us who were cryptophiles had little resources to consult except oblique references in histories or very dense and technical mathematical descriptions. I am glad this book is now on Kindle. I loved the paper version of it. Singh has the gift of explaining what seems at first glance confusing in a way that makes it accessible and fun. Through his narrative we come to understand the absolutely vital role that ciphers and codes played in history as we learn how these systems were constructed and then deconstructed only for the process to begin again. By all means, get a piece of paper and enjoy playing along. It's a timely topic since we now live in an age awash with information and are learning the hard way what can ensue if we don't find ways to protect it. If nothing else learning the Playfair cipher is one way to defeat the snoops in your corporate email system. Very readable and great fun. ... show more
Reviewed in the United States on February 10, 2013 by Harry Pandolfino

Shhhhhh!
Like all narrative non-fictional works that, eventually in this case, deal with technical subjects whose details are beyond the scope of the non-specialist reader, this book attempts to strike a balance between two extremes, between a book so chock-full of technical detail that it reads like a textbook and a book that skimps so completely on the heart of the matter at hand that it can only be described as fluff. Singh has done a remarkable job in balancing the two here, it seems to me, and the book is worth any reader's time whose interest is piqued by cryptography. Singh is singularly aided by his subject matter here. This book was recommended to me by a fellow poster on a crossword puzzle blog which I frequent, as a daily solver of the New York Times crossword. The discussions on the blog vary from the whimsical to the technical with all manner of things mooted. So goes Singh's book as well. But what makes this possible is that cryptography and cryptanalysis, for most of human history, has been no more complex, au fond, than a very difficult crossword puzzle. And one is not surprised to see a crossword used during WWII by the British to test potential candidates for work at top secret Bletchley Park, which was responsible for cracking Germany's "Enigma" code. The crossword is provided in the book and was jolly fun to solve. It seems to me that up to the Vigenère polyalphabetic coding, known for centuries as "le chiffre indéchifferable", anyone with an interest in this book could understand and create such a cipher and write an encrypted message in it. Indeed, it's in deciphering such messages without the "keyword" that the technical going gets somewhat involved and perhaps beyond the ken of some readers not familiar with basic statistical analysis, and, not coincidentally, this decipherment of such encryptions is where maths starts to predominate. But it's certainly not difficult to understand the concept of how these encryptions are deciphered, it's merely very tedious and painstaking to do it as Charles Babbage finally did in the 19th Century. Up to this point, for this reader in any event, no trade-off was necessary and Singh is free to fill his tale of codes and ciphers with histories which hinge upon them, starting with the life and death of Mary, Queen of Scots. Also, he makes an elegant segue in the tale of how the Linear B tablets were finally translated, and the toing and froing of certain egotistical archaeologists etc. - It should be noted here the final decipherment and translation of Linear B was the cumulative work of men (and one woman) of genius who were linguistic prodigies. - Again, pass the 19th century and the non-specialist becomes more than a tad lost in the, literally and figuratively, nuts and bolts of Enigma machines and multi-lingual scholarship and fluency. Thus, it's no surprise that the ending of the book was the weakest part for me. Though it must be said that Singh goes out of his way to use "Alice, Bob, Eve" analogies to make the concepts clearer most effectively, being able to do what the main players in the tale are doing is far beyond the amateur's grasp. Also, the book is thirteen years old and the final sections dealing with computer encryption seem a bit dated already. In sum though, a very pleasing, well-written book about the perennial human need to keep matters secret. ... show more
Reviewed in the United States on July 10, 2012 by Daniel Myers

Everything you wanted to know about the history of encryption.
Format: Paperback
The author covered everything there is to know about cryptography, enciphering, and encryption that existed at the time of publishing. While heavy on the science and details, it is easy to follow and worth it. Good source for research.
Reviewed in the United States on February 10, 2026 by Robert
Checking for best price...