Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy new:
-41% $11.21
FREE delivery Sunday, July 6 on orders shipped by Amazon over $35
Ships from: Amazon.com
Sold by: Amazon.com
$11.21 with 41 percent savings
List Price: $19.00
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Sunday, July 6 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Tomorrow, July 2. Order within 9 hrs 31 mins.
In Stock
$$11.21 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$11.21
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$8.12
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery July 9 - 12 on orders shipped by Amazon over $35
Or fastest delivery Tuesday, July 8
$$11.21 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$11.21
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
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

Follow the author

Something went wrong. Please try your request again later.

The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography Paperback – Illustrated, August 29, 2000

4.6 out of 5 stars 2,183 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$11.21","priceAmount":11.21,"currencySymbol":"$","integerValue":"11","decimalSeparator":".","fractionalValue":"21","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"3h3qmJq29tGEMWurXzsnMw%2F0eeWQ%2FDrtBbCC7J97vciMdhHL3AJAQc2mHLetOguu62NcT6sKBqW5nfFsj5B4yfy%2BKsaP5Q8i6aVBX3vAfkeV2CaJrsGPj30FPkZwM%2ByX1l9lGDrVA8E%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$8.12","priceAmount":8.12,"currencySymbol":"$","integerValue":"8","decimalSeparator":".","fractionalValue":"12","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"3h3qmJq29tGEMWurXzsnMw%2F0eeWQ%2FDrt%2BzoCi4AoEW7Gb6dcI0X%2Bev7Js6AwwFcF4M9QSDNzCTCYUi00mOkp0UdMkHZKCdCDkX6ARSEiOSmn%2FMgBJS5VgtnY2Gf%2BGbUHdsHrWReUDoGFefvd3ftynqpC4EZIeltNG4CEuO%2F%2FMaObBwkGznOD1qlfacO711UX","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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.
The%20Amazon%20Book%20Review
The Amazon Book Review
Book recommendations, author interviews, editors' picks, and more. Read it now.

Frequently bought together

This item: The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography
$11.21
Get it as soon as Sunday, Jul 6
In Stock
Ships from and sold by Amazon.com.
+
$13.93
Get it as soon as Sunday, Jul 6
In Stock
Ships from and sold by Amazon.com.
+
$15.95
Get it as soon as Sunday, Jul 6
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

Editorial Reviews

Amazon.com Review

People love secrets. Ever since the first word was written, humans have sent coded messages to each other. In The Code Book, Simon Singh, author of the bestselling Fermat's Enigma, offers a peek into the world of cryptography and codes, from ancient texts through computer encryption. Singh's compelling history is woven through with stories of how codes and ciphers have played a vital role in warfare, politics, and royal intrigue. The major theme of The Code Book is what Singh calls "the ongoing evolutionary battle between codemakers and codebreakers," never more clear than in the chapters devoted to World War II. Cryptography came of age during that conflict, as secret communications became critical to both sides' success.

Confronted with the prospect of defeat, the Allied cryptanalysts had worked night and day to penetrate German ciphers. It would appear that fear was the main driving force, and that adversity is one of the foundations of successful codebreaking.

In the information age, the fear that drives cryptographic improvements is both capitalistic and libertarian--corporations need encryption to ensure that their secrets don't fall into the hands of competitors and regulators, and ordinary people need encryption to keep their everyday communications private in a free society. Similarly, the battles for greater decryption power come from said competitors and governments wary of insurrection.

The Code Book is an excellent primer for those wishing to understand how the human need for privacy has manifested itself through cryptography. Singh's accessible style and clear explanations of complex algorithms cut through the arcane mathematical details without oversimplifying. --Therese Littleton

Review

"It would be hard to imagine a clearer or more fascinating presentation. . . . Mr. Singh gives cryptography not only its historical dimension but its human one." --The New York Times

"Entertaining and satisfying. . . . Offers a fascinating glimpse into the mostly secret competition between codemakers and codebreakers."        --
USA Today
  
"A good read that, bless it, makes the reader feel a bit smarter when it's done. Singh's an elegant writer and well-suited to the task of leading the mathematically perplexed through areas designed to be tricky."        --
Seattle Weekly
  
"An absorbing tale of codemaking and codebreaking over the centuries." --
Scientific American

"Singh spins tales of cryptic intrigue in every chapter." --
The Wall Street Journal

"Brings together...the geniuses who have secured communications, saved lives, and influenced the fate of nations. A pleasure to read." --
Chicago Tribune

"Enthralling...commendably lucid...[Singh's] book provides a timely and entertaining summary of the subject." --
The Economist

Product details

  • Publisher ‏ : ‎ Vintage
  • Publication date ‏ : ‎ August 29, 2000
  • Edition ‏ : ‎ Reprint
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 432 pages
  • ISBN-10 ‏ : ‎ 0385495323
  • ISBN-13 ‏ : ‎ 978-0385495325
  • Item Weight ‏ : ‎ 2.31 pounds
  • Dimensions ‏ : ‎ 5.18 x 0.86 x 7.96 inches
  • Lexile measure ‏ : ‎ 1310L
  • Customer Reviews:
    4.6 out of 5 stars 2,183 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
2,183 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the book captivating from start to end, with thorough descriptions of ciphers and codes throughout history. Moreover, the book is well-written and easily understandable for the average layman, leaving a great impression on readers. Additionally, customers describe it as highly intriguing and engaging, with one review noting how it blends history and math effectively.

190 customers mention "Readability"185 positive5 negative

Customers find the book captivating from start to end, describing it as a very interesting and fun read.

"What a great read that has sparked a greater curiosity for me. I’m looking for more to study on this field...." Read more

"...in balancing the two here, it seems to me, and the book is worth any reader's time whose interest is piqued by cryptography...." Read more

"This is a very well written and entertaining book that covers codes from the earliest ones to quantum computer codes...." Read more

"...reading this book purely for leisure as the storytelling and content is extremely interesting and captivating even for someone not particularly..." Read more

174 customers mention "Enlightened"170 positive4 negative

Customers find the book enlightening, providing thorough descriptions of the history of ciphers and codes, and serving as a good introduction to the topic.

"What a great read that has sparked a greater curiosity for me. I’m looking for more to study on this field...." Read more

"...It was a well written, fascinating and well paced read of the history and technology of cryptography. That was years ago...." Read more

"...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..." Read more

"...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..." Read more

98 customers mention "Readable"89 positive9 negative

Customers find the book engagingly written and very readable, with one customer noting it is written for a general audience and is easily understood by the average layman.

"...It was a well written, fascinating and well paced read of the history and technology of cryptography. That was years ago...." Read more

"...In sum though, a very pleasing, well-written book about the perennial human need to keep matters secret." Read more

"...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..." Read more

"...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...." Read more

17 customers mention "Pacing"14 positive3 negative

Customers appreciate the book's pacing, finding it lucid and leaving a great impression upon oneself.

"...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..." Read more

"I tremendously enjoyed reading this book, which explores perhaps the most fascinating aspect of cryptology: its role in society...." Read more

"...writing about technical subjects in a way that would be attractive to non-technical readers, as well as technical readers not looking for a textbook..." Read more

"...It sets the tone, gives enough background and as some other reviews rightly said, explains repetitively - but that's good I think as it leaves no..." Read more

13 customers mention "Intrigue"13 positive0 negative

Customers find the book highly intriguing, appreciating its puzzles, with one customer noting that the last chapter offers deeper insights.

"...It was a well written, fascinating and well paced read of the history and technology of cryptography. That was years ago...." Read more

"...are concerned about CURRENT EVENTS in this science the last chapter offers deeper insights and may be used as a springboard to investigate further..." Read more

"...At the end of the book it includes some puzzles for you solve ( I have not tried them yet .. but I'll soon )" Read more

"...Cryptography becomes interesting, intriguing, fun and highly readable under the author's writings...." Read more

Excellent!
5 out of 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 June 8, 2025
    Format: KindleVerified Purchase
    What a great read that has sparked a greater curiosity for me. I’m looking for more to study on this field. It was interesting to see all of the references back in the 90’s that are completely gone, like Netscape Navigator!
  • Reviewed in the United States on October 27, 2024
    Format: PaperbackVerified Purchase
    My old boss used to keep a copy of this lying around in the office (think, "throne room"), and I eventually read the whole thing. It was a well written, fascinating and well paced read of the history and technology of cryptography.
    That was years ago.
    I recently decided to buy my own copy and give a re-read.
  • Reviewed in the United States on July 10, 2012
    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.
    10 people found this helpful
    Report
  • Reviewed in the United States on February 10, 2014
    Format: PaperbackVerified Purchase
    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.
    8 people found this helpful
    Report
  • Reviewed in the United States on June 3, 2024
    Format: PaperbackVerified Purchase
    Originally got this book as it was a required reading for one of my linguistic courses. However, I eventually found myself reading this book purely for leisure as the storytelling and content is extremely interesting and captivating even for someone not particularly familiar with the content at first.
  • Reviewed in the United States on February 10, 2009
    Format: PaperbackVerified Purchase
    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.
    4 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Lobotomised and despised
    5.0 out of 5 stars Almost perfect.
    Reviewed in the United Kingdom on June 28, 2013
    Almost perfect for a layman's introductory book on cryptography/ cryptanalysis. 5 stars for all the historical introduction from Ceasar Shift, substitution/transposition, frequency analysis and linguistics, monoalphabets, polyalphabets, Vigenere and Babbage, Turing and the naval Enigma, but minus 0.5-1 stars because modern encryption/decryption techniques were a little rushed relative to the earlier historical half of the book and some applications were hardly mentioned. Interesting that Linear A and Etruscan had not been deciphered at the time this book was written.

    Although I bought this book late, and technology has advanced since it was written, I was hoping to better understand encryption in the fields of computer science and technology (authentication and certificates on the internet, hashing of passwords, credit card technology...). There was a good intro on RSA and PGP, and I enjoyed the ending on photon traps and quantum computing. I wish there had been a little more on number theory (primes), a comparison of the many modern standards, the use of analysis in digital forensics, ...something a little more technical but maybe there are other books for that.

    There are some dubious claims in the book that GCHQ invented asymetric public-key encryption 'before' Diffie-Hellman-Merkle and Rivest-Shamir-Aldeman. The claim being made is that GCHQ invented it shortly before (whatever they say, right?), but could not disclose their invention for reasons of national security. I realise that this story was put out in 1997 by GCHQ and not Simon Singh, but where is the evidence?
    What is more likely is that there were reasons of national security for not disclosing that, despite the huge budgets, the shadowy cold-war era monoliths GCHQ (and NSA) were totally outwitted by a handful of freedom loving academics like Whitfield Diffie, who saw this technology as a means of protecting free speech and, therefore, democracy.
    Kudos to Simon Singh for stating his suppor for the use of Zimmermann's PGP in the book.

    The book concludes with a multiple stages code cracking challenge, which starts very easy and gets harder (there was a cash prize at the time).
  • Cliente Amazon
    5.0 out of 5 stars Excelente
    Reviewed in Brazil on December 8, 2018
    Format: PaperbackVerified Purchase
    Compreende a história das cifras desde as nossas primeiras invenções até o futuro da computação quântica. Recomendo fortemente para qualquer um interessado no assunto.

    Observação: O livro não traz algoritmos explícitos de sistemas criptográficos, embora explique muito bem o funcionamento destes, principalmente o DHM e RSA.
    Report
  • Client d'Amazon
    5.0 out of 5 stars An awesome history about codes.
    Reviewed in France on October 2, 2018
    Format: PaperbackVerified Purchase
    A facsinating book about encryption and codes. It mingles both history and technicity. Didn't realise that codes were so important among history.
    Recommend it !
  • Maria
    5.0 out of 5 stars Just Buy It !
    Reviewed in India on June 21, 2019
    Format: PaperbackVerified Purchase
    If you've recently got into encoding/decoding or have found Morse code interesting and want to know more of the kind, or just for the sake of understanding Robert Langdon better, whatever the reason is - for beginners this book is the best ! Not only will you get to know so much about ciphers and their history from this book, you'll also get to experience the fun yourself by creating your own encrypted language !
    This book can't, can never, fail to capture the attention, imagination, and curiosity of the reader, he/she will be fascinated for sure. As for the Amazon services, the delivery, condition of the book and price, all are perfect.
  • Gerardo Tonatiuh Primo Rodriguez
    5.0 out of 5 stars Increíble, divertido, fácil de leer
    Reviewed in Mexico on September 20, 2021
    Format: PaperbackVerified Purchase
    Me gusto mucho! Soy fanático de los enigmas y con este libro exploré una historia secreta que no sabía.