Kindle Price: $10.99

Save $8.01 (42%)

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

eBook features:
  • Highlight, take notes, and search in the book
You've subscribed to ! We will preorder your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions

Buy for others

Give as a gift or purchase for a team or group.
Learn more

Buying and sending eBooks to others

  1. Select quantity
  2. Buy and send eBooks
  3. Recipients can read on any device

These ebooks can only be redeemed by recipients in the US. Redemption links and eBooks cannot be resold.

Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Something went wrong. Please try your request again later.

The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography Reprint Edition, Kindle Edition

4.6 4.6 out of 5 stars 2,124 ratings

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 Read less
Due to its large file size, this book may take longer to download

Editorial Reviews

Review

Praise for Fermat's Enigma by Simon Singh:

"Vividly recounted...I strongly recommend this book to anyone wishing to catch a glimpse of what is one of the most important and ill-understood, but oldest, cultural activities of humanity...an excellent and very worthwhile account of one of the most dramatic and moving events of the century."
--Roger Penrose,
The New York Times Book Review

"How great a riddle was Fermat's 'last theorem'?  The exploration of space, the splitting of the atom, the discovery of DNA--unthinkable in Fermat's time--all were achieved while his Pythagorean proof still remained elusive...Though [Singh] may not ask us to bring too much algebra to the table, he does expect us to appreciate a good detective story."
--
The Boston Sunday Globe

"It is hard to imagine a more informative or gripping account of...this centuries-long drama of ingenious failures, crushed hopes, fatal duels, and suicides."
--
The Wall Street Journal

"[Singh] writes with graceful knowledgeability of the esoteric and esthetic appeal of mathematics through the ages, and especially of the mystifying behavior of numbers."
--
The New York Times

"[Singh] has done an admirable job with an extremely difficult subject. He has also done mathematics a great service by conveying the passion and drama that have carried Fermat's Last Theorem aloft as the most celebrated mathematics problem of the last four centuries."
--American Mathematical Society

"The amazing achievement of Singh's book is that it actually makes the logic of the modern proof understandable to the nonspecialist...More important, Singh shows why it is significant that this problem should have been solved."
--
The Christian Science Monitor

From Scientific American

The ancient battle between people who want to preserve secrets and people who want to discover them proceeds as a form of evolution. Codemakers devise a better means of encryption; codebreakers solve it, forcing the encoders to find another improvement. Singh, trained in physics but now an author of works on science, spins an absorbing tale of codemaking and codebreaking over the centuries. Does the simple monoalphabetic substitution cipher, which replaces each letter of a message with a letter from a cipher alphabet, no longer suffice? Replace it with a code using two or more cipher alphabets. When that no longer outwits the cryptanalysts, encode with a Vigenère square, in which a plaintext alphabet is followed by 26 cipher alphabets. And so on through one-time pad ciphers, cryptographic machines and public-key cryptography.

Singh explains them all deftly. Looking to the future, he sees "one idea in particular that might enable cryptanalysts to break all today's ciphers." It is the quantum computer. If it can be built, "it would be able to perform calculations with such enormous speed that it would make a modern supercomputer look like a broken abacus." Or perhaps the cryptographers will triumph with quantum cryptography. "If quantum cryptography systems can be engineered to operate over long distances, the evolution of ciphers will stop. The quest for privacy will have come to an end."

--This text refers to an out of print or unavailable edition of this title.

Product details

  • ASIN ‏ : ‎ B004IK8PLE
  • Publisher ‏ : ‎ Anchor; Reprint edition (January 26, 2011)
  • Publication date ‏ : ‎ January 26, 2011
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 18496 KB
  • Text-to-Speech ‏ : ‎ Enabled
  • Screen Reader ‏ : ‎ Supported
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Enabled
  • Sticky notes ‏ : ‎ On Kindle Scribe
  • Print length ‏ : ‎ 523 pages
  • Customer Reviews:
    4.6 4.6 out of 5 stars 2,124 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Simon Singh
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Simon Singh is a science journalist and TV producer. Having completed his PhD at Cambridge he worked from 1991 to 1997 at the BBC producing Tomorrow's World and co-directing the BAFTA award-winning documentary Fermat's Last Theorem for the Horizon series. He is the author of Fermat's Last Theorem, which was a no 1 bestseller in Britain and translated into 22 languages. In 1999, he wrote The Code Book which was also an international bestseller and the basis for the Channel 4 series The Science of Secrecy.

Customer reviews

4.6 out of 5 stars
4.6 out of 5
2,124 global ratings
Excellent!
5 Stars
Excellent!
I did not expect this book to be as good as it was. But if I was to make a short list of books a person must read this would be on the list. It teaches a valuable lesson in the way humans handle valuable information. It might be why we continue to get smarter as a species as we have a constant desire to make and break code.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on February 10, 2014
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.
3 people found this helpful
Report
Reviewed in the United States on June 29, 2018
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.
18 people found this helpful
Report
Reviewed in the United States on November 9, 2023
In The Code Book, British author and physicist Simon Singh provides a history of cryptography from ancient times to the present. This is a popular science book aimed at general readers, so the text is accessible and isn’t bogged down with incomprehensible mathematical jargon. It’s still an intellectually challenging read, however, and those who are interested in the arcane details of this subject will find it quite entertaining. Singh explains that The Code Book is really more about ciphers than about codes, but The Cipher Book just wouldn’t sound as cool.

Every time someone writes a book about cryptography for the general reader, some fundamentals must be covered. First of all, the author must explain how a simple alphabetic substitution cipher works (each letter in the alphabet is substituted for another). Then, the writer must explain how to solve such a cipher using frequency analysis (the most commonly used letter in the ciphertext, for example, is likely to represent E, the most common letter in the English alphabet, and so on). Anyone with an interest in cryptography already knows about these elementary matters, but they must be included in order to lay the foundation for the discussion and to educate newcomers to the subject. It’s no small feat that Singh manages to explain these basics in an articulate way that novices can understand but won’t bore the pants off those who already know what he’s talking about.

The Code Book is a fascinating mix of cryptographic history and practical knowledge on how ciphers are created and cracked. Singh doesn’t just talk about how ciphers were used in the past and show you some examples. He really gives you an understanding of how each cipher works and the motivation behind its development. There’s an entire chapter, for example, on the Nazis’ World War II code machine named Enigma. The reader comes away with a pretty thorough understanding of that mechanism’s cryptographic process. This is followed by another chapter about how the Allies cracked the Enigma cipher. From there, Singh goes into digital cryptography. To some extent, computer-generated ciphers are too complex for the unaided human mind to unravel, but Singh still does a great job of explaining the methods and mathematics behind today’s digital encryption. Finally, Singh moves into quantum cryptography and quantum computing. In order to discuss these topics, he has to give the reader a nutshell overview of quantum mechanics, which he manages to do quite eloquently.

Singh goes off on some digressions that feel unnecessary. In the first chapter, I don’t think I needed a complete biography of Mary Queen of Scots to figure out how her cipher worked, and the discussion of cryptography really got lost amid all the historical context. Singh also spends half a chapter on the decipherment of ancient languages, such as Egyptian hieroglyphics and Linear B. While I’m interested in that subject, it feels out of place here because it ventures more into linguistics than cryptography.

The Code Book was published in 1999, so it only covers the history of cryptography up to that point. A lot has happened since then. Singh writes about identity theft and personal data leaks as if they were events bound to happen in the future, not the common occurrences of today. Although he covers the initial scientific investigations into quantum computing, further developments have occurred in the past two decades. This is a history book, after all, and the present never stays the present forever. As a historical summary of cryptography up to the year 2000, it’s hard to imagine a better one-volume treatment than this.
3 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Gerardo Tonatiuh Primo Rodriguez
5.0 out of 5 stars Increíble, divertido, fácil de leer
Reviewed in Mexico on September 20, 2021
Me gusto mucho! Soy fanático de los enigmas y con este libro exploré una historia secreta que no sabía.
Anders
1.0 out of 5 stars Informative but a bit outdated and poorly printed
Reviewed in Sweden on May 13, 2024
The history of secret messaging is excellent. However in the last part of the book its not upto date and considering the book was written 1999 it surely needs rewriting. 25 years is a very long time in cryptography.
The printing of the book was also in some areas rather poor, missing text on pages. As seen on the picture.

I liked the book and the writer is sometimes funny and very informative. Just wishing printing quality would be better and updated to 2024!
Customer image
Anders
1.0 out of 5 stars Informative but a bit outdated and poorly printed
Reviewed in Sweden on May 13, 2024
The history of secret messaging is excellent. However in the last part of the book its not upto date and considering the book was written 1999 it surely needs rewriting. 25 years is a very long time in cryptography.
The printing of the book was also in some areas rather poor, missing text on pages. As seen on the picture.

I liked the book and the writer is sometimes funny and very informative. Just wishing printing quality would be better and updated to 2024!
Images in this review
Customer image
Customer image
Unai Estebanez Sevilla
5.0 out of 5 stars Es un libro de divulgación perfecto
Reviewed in Spain on August 3, 2022
Me ha encantado la perspectiva que da sobre el mundo de la criptografía. Explica conceptos complejos en una forma muy sencilla.
Si bien es verdad que no es un libro académico y no te puedes esperar el grandes análisis en profundidad.
One person found this helpful
Report
Amazon Customer
5.0 out of 5 stars Very Good
Reviewed in Canada on September 18, 2020
This author is very good at explaining complicated cryptography. He makes it very interesting by adding the stories of those who have made recent contributions to the subject. It is informative, readable and entertaining all at the same time.
One person found this helpful
Report
karin1910
5.0 out of 5 stars Interessante Tour voller Geheimnisse und Rätsel
Reviewed in Germany on March 17, 2021
Simon Singh befasst sich hier mit einem faszinierenden Thema: Wohl schon seit Jahrtausenden haben Menschen das Bedürfnis, geheim miteinander zu kommunizieren und spätestens seit der Antike wurden diverse Methoden entwickelt, eine Nachricht so zu verschlüsseln, dass nur der gewünschte Empfänger sie verstehen kann.
Doch im selben Maß, wie die Verschlüsselung immer sicherer wurde, wurden auch immer ausgefeiltere Verfahren zum Entschlüsseln entwickelt. Schließlich hingen oft genug politische oder militärische Siege bzw Niederlagen und damit Menschenleben, oder zumindest wirtschaftliche Erfolge davon ab, zu wissen, was der Gegner plant, und zu verhindern, dass die eigenen Pläne ausgespäht werden.

Dieses Buch folgt dem Gang der Geschichte und beschreibt den spannenden Wettlauf zwischen Code-Erfindern und Code-Knackern – von Caesar über Mary Stuart und die Helden von Bletchley Park bis zum Internet-Zeitalter.
Dabei wird nicht nur die dahinterstehende Mathematik allgemein verständlich erklärt. Der Autor schildert auch die Umstände, die zu der einen oder anderen Entdeckung führten und holt die Persönlichkeiten vor den Vorhang, die für wegweisende Entwicklungen in diesem Bereich verantwortlich waren.
Abgerundet wird das Ganze durch eine Sammlung von verschlüsselten Texten, an denen die Leser selbst ihre Dechiffrierfähigkeiten erproben können.
Trotz der teilweise anspruchsvollen Konzepte, die hier vorgestellt werden, ist das Buch flott lesbar und unterhaltsam. Es regt aber auch dazu an, sich noch weiter mit den hier präsentierten Ideen auseinander zu setzen und zeigt, welch umfangreiche Fähigkeiten und vor allem welche Kreativität erforderlich sind, um im Bereich der Ver- und Entschlüsselung erfolgreich zu sein.

Das einzige kleine Manko, für das man natürlich niemandem einen Vorwurf machen darf, besteht darin, dass das Buch eben schon über 20 Jahre alt und daher nicht auf dem allerneusten Stand ist. Soweit ich das beurteilen kann, hat es jedoch auch hinsichtlich des Inhalts des letzten Kapitels (Quantencomputer und Quantenkryptografie) seither keine wirklich umwälzenden Neuerungen gegeben.
One person found this helpful
Report

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?