Goodreads helps you keep track of books you want to read.
Start by marking “The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography” as Want to Read:
The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography
Enlarge cover
Rate this book
Clear rating
Open Preview

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

4.3  ·  Rating details ·  17,319 Ratings  ·  1,065 Reviews
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 inc ...more
Paperback, 412 pages
Published August 29th 2000 by Anchor (first published November 3rd 1999)
More Details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about The Code Book, please sign up.
Popular Answered Questions
Sidhant Saraogi Hey,
I think even though this book was written ages ago and does not include up to date information about information security, that is really not…more
I think even though this book was written ages ago and does not include up to date information about information security, that is really not the book's aim. It aims to provide a comprehensive history of code making and breaking (read cryptography) in a very interesting and engaging manner and that is what makes the book extremely relevant to anyone interested in information security, code breaking (hint : The Imitation Game) and other related fields. It is definitely a most interesting read. (less)

Community Reviews

Showing 1-30
Rating details
Sort: Default
Jun 06, 2008 rated it it was amazing
Recommends it for: Geeks and people who like geeks.
Shelves: pop-sci-geek
The Code Book is like geek porn. Explanations of the theories behind cryptography are woven together with anecdotes of times when code-making or code-breaking was integral to historical events. Singh strikes an excellent balance with this book. The clarity of his writing makes the explanations of the mathematics of cryptography very straightforward without dumbing them down, and the historical connections are always fascinating.

Personally, my favorite part was the section devoted to the role cry
Paul E. Morph
9788 432411439 1440 57418348 0 50828309836 7889474 45 24348 033 243417400836 5742 0328439 46459 94 974 243473 3047 83 50296 89 6448 434 8945 5079747 9703 5748439 3046 033 68148 08 0 1440 09 2709 974 509074 204 7413 83 9788 584137

974 009747 278948 01409 2709 24013 7014 1443 60894 0 374 8019429 2897 8027 4397088082 033 83 8027 03 43606836 204 9709 434 20399 7415 109 14 37023 837 145474 7403836 9788 14406 8 4314 703 0 1474 70382439074 034214364 45 274594670574 033 02 1474 2027 974 1042037 88367 435
Shafaet Ashraf
Dec 03, 2014 rated it it was amazing
পরায় ৩মাস ধরে পড়ে শেষ করলাম যেকোনো সিনেমাকে হার মানানো করিপটোগরাফির ইতিহাস। এই বইয়ের সতযিকারের মজা নিতে হলে করিপটোগরাফির পরটোকলগুলো বুঝে বুঝে পড়তে হবে, তবে সেগুলো বুঝতে জটিল কোনো গণিত জানার দরকার হবে না, লেখকের দকষতার পরিচয়টা সেখানেই।

পৃথিবীতে বড় বড় সব যুদধগুলো হয়েছে আসলে 'কোডবরেকার' আর 'কোডমেকার' দের মধযে, যারাই পরতিপকষের পাঠানো গোপন চিঠিগুলো পড়ে ফেলতে পেরেছে তারাই কৌশলগত দিক থেকে একধাপ এগিয়ে গিয়েছে। সেই জুলিয়াস সিজারের সিজার সাইফার থেকে শুরু করে নাৎসিদের বযবহৃত এনিগমা মেশিন, আধু
Jun 22, 2014 rated it it was amazing
By far the best and the most interesting book on the subject. recommended to anyone interested in Cryptography and its history. I read it in three days mainly because I couldn't put it down.
Arnab Paul
Aug 03, 2015 rated it it was amazing
পড়ে শেষ করলাম Simon Singh এর The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography
বইটির সনধান পাই গুডরিডস ঘাঁটাঘাঁটি করতে করতে। Cryptography;অরথাৎ আপনার তথযকে সরবসাধারণের আড়ালে রেখে সংরকষণ ও পরাপককে সরবরাহ করার বিদযা নিয়ে এই বই।হাজার বছর আগের রাজা বাদশাদের আমল থেকে Cryptography-র চরচা শুরু,যার সরোত এখন আপনার সোশাল মিডিয়া অযাকাউনট থেকে সেলফোনের রিচারজ কারডের বযবহারে চলছে সদরপে !চারশো পৃষঠার এই বইটিতে Cryptography-র রোমাঞচকর ইতিহাস , বিকাশের রাজনীতিক পটভূমি ছাড়াও এর গাণি
Aug 26, 2017 rated it it was amazing
I haven’t had this much gleeful delight in a book in a long time. This book is pure fun. It’s not fast reading necessarily, and requires some active engagement to keep up, but man, it is a blast. If you read a lot of spy books as a child, or if you’re secretly jealous when there’s a cipher to be solved in a TV or movie plot and a character says,“Yeah, I can totally crack this if I have a few hours, let me get to work,” you’re going to love this.

Singh introduces us to famous historical ciphers a
Stefan Kanev
Oct 13, 2015 rated it it was amazing
I recently watched The Imitation Game, which left such a bad taste in my mouth, that I wanted to clean it up with something in a similar subject. Having read two of Sighn's other books, I picked this one.

I had high expectations and it met them nicely. The book tells the story of ciphers and encryption through history – from what the Greek and the Romans did, through the Enigma, and finally to RSA. The style is very easy and pleasant to read, everything is pretty understandable even if you don't
John Meo
May 02, 2015 rated it it was amazing
This is a fascinating introduction to the world of cryptography. It has opened my eyes to a whole new subject that interests me, and now I have spent many hours attempting to create a machine that can decrypt hidden messages. It is a wonderful and gripping tale of the history of cryptography, and presents the entire plot as a battle between the code makers and the code breakers. I was never left a little bored at parts as I occasionally am during non-fiction books because it is a continuous stor ...more
Read for the Reading Without Walls challenge, for 'a topic you don't know much about'. And even though I didn't finish it in a week, CHALLENGE COMPLETE.

I really enjoyed The Code Book. The explanations were well-done, and the history lessons amazed me, which is odd because I'm not a history fan. I learned a lot about codes and ciphers and how they work, and that was the best part of it all. I liked the writing, so I think I might pick up another Simon Singh book in the future.
Zainab Moazzam
Nov 16, 2014 rated it it was amazing
The extent to which human brain can produce such encryptions is beautiful... all for the sake of just one thing, secrecy!
Duy Đoàn
Jul 14, 2011 rated it really liked it  ·  review of another edition
Shelves: history, science
Trong lịch sử nhân loại đã xảy ra những cuộc chiến tranh tàn khốc, như hai cuộc thế chiến đầu thế kỉ 20. Tuy nhiên, bên cạnh những cuộc chiến bên ngoài chiến trường, thì ẩn bên trong nó lại là một cuộc chiến khác: cuộc chiến về thông tin. Đã có truyền tin thì tất nhiên cần phải có yêu cầu giữ bí mật. Thế là ngành khoa học mật mã (cryptography) ra đời để phục vụ cho yêu cầu đó.

Cuốn sách “Mật mã” (The Code Book) sẽ dẫn dắt chúng ta nhìn lại lịch sử dưới góc nhìn của mật mã học. Cuốn sách bắt đầu b
Dec 02, 2008 rated it it was amazing
Singh, author of Fermat's Enigma, has even included a code to practice one's deciphering skills on. The successful cryptanalyst will win $15,000. In the appendix, he discusses other famous attempts at breaking codes, including the recent book, The Bible Code, by Michael Drosnin. This work caused quite a stir a couple of years ago when Drosnin, building really on the work of several Hebrew scholars, claimed to have discovered several prophecies hidden in the text of the Bible, a forecast of the a ...more
Pallavi Gambhire
Jan 07, 2012 rated it it was amazing
I never thought I'd love a book about mathematics, or ever see the beauty of mathematics. My mother was definitely right when she kept pestering me to work harder on my math and argued that it was EVERYWHERE! (I had argued back saying I would be fine as long as I could perform the basic calculations!)
Maybe this is what growing up is about!
That being said, this is a very informative book about the past, present and future of cryptography. Singh takes us on a journey from ancient times where simpl
Jun 13, 2013 rated it it was amazing
Shelves: own, science, non-fiction
This is a *must* read before reading Cryptonomicon. Or maybe after, like I did.

If you at all feel uncomfortable in your knowledge of one time pad cyphers, public/private keys, or the importance of really good cryptography for average folks, please read this book! It's sadly a bit out of date, but Singh does such a brilliant job of methodically building up the complexity in cyphers though history, that you will inevitably learn a ton.
Aug 21, 2013 rated it it was amazing
I was fascinated with codes and ciphers when I was a kid. I even had a "junior spy code kit" with a bunch of cool stuff and I could send little notes to friends with secret messages like "Mr. Nutzenjammer is a dork" and "Cindy eats her boogers" and we would all congratulate ourselves with our cleverness. That's all pretty juvenile, but the ciphers included in my little spy kit were the basics in modern encryption systems and you can read all about it in Simon Singh's The Code Book, an excellent ...more
Oct 07, 2011 rated it really liked it
Shelves: non-fiction
I thought this book would be dry and boring, but oh no! I love a good puzzle, and this history of making, cracking, and innovating secret codes was enthralling. And it gets better ... at the end of the book there are codes to try your hand out. I got pretty excited when I solved the first (and easiest one). They got harder and the book became overdue at the library so I gave it up. For about a week I had the idea that I was going to be the best code cracker ever and that the CIA would HAVE to hi ...more
Jan 17, 2009 rated it it was amazing
i picked this up at my brother in law's house and started reading it, immediately went out and bought a copy....
what a FANTASTIC book...
mathematically oriented non-fiction that reads like an anthology of suspense stories...
highly enjoyable...
Tobias Langhoff
Jan 23, 2016 rated it it was amazing  ·  review of another edition
I have a romantic view of old-fashioned, analog cryptography (and stenography). Every time I read about it, I feel like a kid again, sitting in a treehouse with the neighboring kids who make up our small detective/spy club, encrypting messages we hoped someone would care to attempt to read. If I were born a decade or two earlier, I surely would have become a ham radio operator. Recommendations for spy novels that capture this childish feeling are appreciated.

This book details the world history o
This is the second work of Simon Singh that I have read, and in my opinion it is the greater of the two. It explores the art of ciphering codes and encryption which has developed profusely over the centuries, with alot of help from Charles Babbage and the computer.

Singh delves into the story of Mary Queen of Scots and explains in an epic and intersting way about how Mary's life depended upon whether her encrypted messages were deciphered. It goes on to the key role of mathematicians in WWII par
May 13, 2015 rated it really liked it
A history of cryptography ought to have spy stories and treasure hunts and daring wartime conspiracies, which Simon Singh provides, but he grounds it all in strikingly clear mathematical and logical explanations of cryptographic methods. He tells the history as a back and forth between cryptographers and cryptanalysts, with one group having the upper hand at different points in history. With the very early ciphers, I already had a background intuition about how they might be deciphered, but by t ...more
Prvně jsem od autora četl knihu Velká Fermatova věta a Kniha kódů a šifer je stejně strhující. I když jsem o šifrování už leccos věděl, ujasnil jsem si pár historických údajů, jako třeba že Enigmu prvně rozlouskli Poláci. I ostatní příběhy z historie jsou rovněž oslavou lidské vynalézavosti. Na jeho psaní se mi líbí, že je to sice populárně naučné, ale své si tam najde začátečník i pokročilý. Netušil jsem, že už je teoreticky připravené šifrování, které by neměl prolomit kvantový počítač. Zajím ...more
Abhishek Desikan
Sep 20, 2016 rated it it was amazing
Shelves: favorites
If you're looking for an excellent primer to the world of cryptography and cryptanalysis, then The Code Book, is the one you must lay your hands on.

The book can be looked at in three perspectives. At a micro level, it is a guide to the various techniques of secret writing, and how they can be deciphered. Right from Caesar's cipher to quantum cryptography, the book traces how encryption and decryption has evolved in the last two millennia, which, by itself is fascinating.

Second, it can be looke
Julia Hughes
Sep 20, 2011 rated it it was amazing
Shelves: science
Mr Singh manages to explain concepts that should be way beyond this thickie's level of understanding. That he manages to do so in an entertaining page turning manner is testament to his skill both as a mathematician and a writer. This book examines how from earliest history in parallel with writing, it became necessary for human kind to devise ways to send messages in code. So we learn how complex codes developed from very simple ones, and Simon explains along the way that there are ancient code ...more
Jigar Brahmbhatt
Sep 08, 2011 rated it really liked it
A tour de force for anyone remotely interested in cryptography. Singh has done a marvelous job of chronologically describing the art of hiding information from the Rosetta stone, to the lesser known message hiding tricks used in Queen Mary's court, followed by the Enigma machine, till the emergence of computers. He backs up the technical details with intriguing history, which only makes up for a wonderful reading experience.

My favorite part in the book was the explanation of Quantum Cryptograph
Lady Clementina ffinch-ffarowmore
Singh does an excellent job explaining the development and process of cryptography and cryptanalysis in easy to understand terms (except (for me) perhaps the working of the Enigma, which still is a bit of an enigma!)- in fact so easy does he make it sound that one might be tempted to believe that one can be a cryptanalyst oneself- well until on turns to practically solving problems anyway. I also liked the way he wove the explanations of the actual process and working of encryption and cryptanal ...more
Jun 19, 2008 rated it it was amazing  ·  review of another edition
A fantastic exploration of cryptography, looking at the game of leapfrog between the code makers and the code breakers. I was fascinated by the story of the Enigma code as well as the incredible cracking of it. Singh also covers computer encryption in a manner which is easy to understand and fascinating in its detail.

The best part about this book is its accessibility. You don't need to be a mathematician to follow how codes were developed and broken. I was riveted by the development of cryptogra
Bryce Holt
Apr 28, 2009 rated it it was amazing
Prepare to dork out with your bad self, because this book is for those of us who A) Had a code dial as a kid (like Ralphie in "A Christmas Story"), and B) Didn't get laid until at least college. The truth is, though, that Simon Singh's "The Code Book" rocks the pants. This guy's knowledge and history is astounding, and while much of it is beyond me to fully understand, I am enamored with the way the stories unravel.

Enjoyably crafted and with the lay reader in mind, I think many could enjoy this
Feb 16, 2014 rated it liked it
Shelves: non-fiction, science
I'm fascinated by the history of encryption, so this book was up my alley. Singh traces the evolution of encryption techniques using stories from history to illustrate.

Singh takes care to also give more technical explanations for what's going on, and you can use the charts to try out some of them for yourself.

Just recently, there's the story of the "runic code" that was finally solved - and it turns out it was used mostly for fun (with one of the translated messages saying, simply, "Kiss me"). S
Nov 04, 2017 rated it it was amazing
The Code Book has wide appeal and is a good read for anyone who is of the polymath mindset. If you like history pertaining to computing or are interested in algorithms, it is a monumental book.

Singh may be the best science writer out there. He has that rare ability to take complex science and math topics and explain in very straightforward layman’s terms.

Atila Iamarino
Aug 20, 2015 rated it really liked it
Um livro muito gostoso de ler. É bem explicado e tem vários exemplos e demonstrações dos tipos de cifras e deciframento citados. Além de contar a história da criptografia (e do inverso), com personagens e situações muito interessantes. Excelente.
« previous 1 3 4 5 6 7 8 9 next »
topics  posts  views  last activity   
Interesting book 3 39 Jan 25, 2015 06:08AM  
an eye-opener... 3 65 Sep 06, 2011 08:25PM  
  • The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet
  • The Music of the Primes: Searching to Solve the Greatest Mystery in Mathematics
  • Crypto: How the Code Rebels Beat the Government--Saving Privacy in the Digital Age
  • Prime Obsession: Bernhard Riemann and the Greatest Unsolved Problem in Mathematics
  • Applied Cryptography: Protocols, Algorithms, and Source Code in C
  • Journey through Genius: The Great Theorems of Mathematics
  • An Imaginary Tale: The Story of the Square Root of Minus One
  • The Math Book: From Pythagoras to the 57th Dimension, 250 Milestones in the History of Mathematics
  • Professor Stewart's Cabinet of Mathematical Curiosities
  • A History of Mathematics
  • The Colossal Book of Mathematics
  • What Is Mathematics?: An Elementary Approach to Ideas and Methods
  • The Calendar
  • The Equation That Couldn't Be Solved: How Mathematical Genius Discovered the Language of Symmetry
  • The Annotated Turing: A Guided Tour Through Alan Turing's Historic Paper on Computability and the Turing Machine
  • The Man Who Loved Only Numbers: The Story of  Paul Erdős and the Search for Mathematical Truth
  • Codebreakers: The Inside Story of Bletchley Park
  • e: the Story of a Number

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
Simon Lehna Singh, MBE (born 1 January 1964) is a British author who has specialised in writing about mathematical and scientific topics in an accessible manner. He is the maiden winner of the Lilavati Award.

His written works include Fermat's Last Theorem (in the United States titled Fermat's Enigma: The Epic Quest to Solve the World's Greatest Mathematical Problem), The Code Book (about cryptogra
“The first known European book to describe the use of cryptography was written in the thirteenth century by the English Franciscan monk and polymath Roger Bacon. Epistle on the Secret Works of Art and the Nullity of Magic included seven methods for keeping messages secret, and cautioned: “A man is crazy who writes a secret in any other way than one which will conceal it from the vulgar.” 2 likes
“if N is large enough, it is virtually impossible to deduce p and q from N, and this is perhaps the most beautiful and elegant aspect of the RSA asymmetric cipher.” 2 likes
More quotes…