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.26  ·  Rating Details ·  13,712 Ratings  ·  803 Reviews
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 pla ...more
Hardcover, 415 pages
Published 1999 by Fourth Estate
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)
Gödel, Escher, Bach by Douglas R. HofstadterFermat's Enigma by Simon SinghFlatland by Edwin A. AbbottThe Code Book by Simon SinghZero by Charles Seife
Best Books About Mathematics
4th out of 237 books — 421 voters
Once Upon Another Time by Rosary  McQuestionAfter Forever Ends by Melodie RamoneLife is a Circus Run by a Platypus by Allison HawnSpare Change by Bette Lee CrosbyVampire Princess Rising by Jami Brumfield
Best Unknown Books
291st out of 2,057 books — 1,802 voters

More lists with this book...

Community Reviews

(showing 1-30 of 3,000)
filter  |  sort: default (?)  |  Rating Details
Sep 18, 2008 Jim rated it it was amazing  ·  review of another edition
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
Shafaet Ashraf
Apr 01, 2015 Shafaet Ashraf rated it it was amazing  ·  review of another edition
পরায় মাস ধরে পড়ে শেষ করলাম যেকোনো সিনেমাকে হার মানানো করিপটোগরাফির ইতিহাস। এই বইয়ের সতযিকারের মজা নিতে হলে করিপটোগরাফির পরটোকলগুলো বুঝে বুঝে পড়তে হবে, তবে সেগুলো বুঝতে জটিল কোনো গণিত জানার দরকার হবে না, লেখকের দকষতার পরিচয়টা সেখানেই।

পৃথিবীতে বড় বড় সব যুদধগুলো হয়েছে আসলে 'কোডবরেকার' আর 'কোডমেকার' দের মধযে, যারাই পরতিপকষের পাঠানো গোপন চিঠিগুলো পড়ে ফেলতে পেরেছে তারাই কৌশলগত দিক থেকে একধাপ এগিয়ে গিয়েছে। সেই জুলিয়াস সিজারের সিজার সাইফার থেকে শুরু করে নাৎসিদের বযবহৃত এনিগমা মেশিন, আধুন
Arnab Paul
Aug 10, 2015 Arnab Paul rated it it was amazing  ·  review of another edition
পড়ে শেষ করলাম Simon Singh এর The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography
বইটির সনধান পাই গুডরিডস ঘাঁটাঘাঁটি করতে করতে। Cryptography;অরথাৎ আপনার তথযকে সরবসাধারণের আড়ালে রেখে সংরকষণ ও পরাপককে সরবরাহ করার বিদযা নিয়ে এই বই।হাজার বছর আগের রাজা বাদশাদের আমল থেকে Cryptography-র চরচা শুরু,যার সরোত এখন আপনার সোশাল মিডিয়া অযাকাউনট থেকে সেলফোনের রিচারজ কারডের বযবহারে চলছে সদরপে !চারশো পৃষঠার এই বইটিতে Cryptography-র রোমাঞচকর ইতিহাস , বিকাশের রাজনীতিক পটভূমি ছাড়াও এর গাণি
Stefan Kanev
Oct 13, 2015 Stefan Kanev rated it it was amazing  ·  review of another edition
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
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.
Mar 20, 2011 Eric_W rated it it was amazing  ·  review of another edition
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
Jan 12, 2012 Pallavi rated it it was amazing  ·  review of another edition
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
Oct 07, 2011 Jen rated it really liked it  ·  review of another edition
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
Aug 24, 2013 Cindy rated it it was amazing  ·  review of another edition
Shelves: non-fiction, own, science
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.
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
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
Bryce Holt
Apr 28, 2009 Bryce Holt rated it it was amazing  ·  review of another edition
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 02, 2009 Jason rated it it was amazing  ·  review of another edition
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...
History of crypto, from its very beginning to public key cryptography and a sketch of quantum cryptography. Very well written and researched, balancing accuracy, ease-of-reading and entertainment. One of the best non-fiction read recently!
Abhishek Desikan
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
John Meo
May 02, 2015 John Meo rated it it was amazing  ·  review of another edition
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
Jigar Brahmbhatt
Sep 08, 2011 Jigar Brahmbhatt rated it really liked it  ·  review of another edition
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
Julia Hughes
Sep 20, 2011 Julia Hughes rated it it was amazing  ·  review of another edition
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
A little disappointing given how much I loved Fermat's Last Theorem, although still really well-written. The beginning half was really good, but then when it became about secure internet banking and not wars and beheadings and secret languages it kind of got a little boring. Also it was SUPER Anglo-centric. I don't agree with that choice.

I learned that once in ancient Greece somebody shaved the head of his messenger, wrote the message on his scalp, and then waited for the hair to regrow as a for
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
Mar 14, 2016 Alpha rated it really liked it  ·  review of another edition
Shelves: hardcover, 2016
Highly enjoyable read. It was fascinating to find out more about the history and stories of cryptography, although I wound up just skimming past the math/physics since I'd already taken those courses a long, long time ago. I especially enjoyed the details of Enigma and some of the backstories behind Diffie-Hellman and RSA.

Thanks for the recommendation, Ellen!
Nov 17, 2011 Nicolle rated it it was amazing
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 Tessa rated it really liked it  ·  review of another edition
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
Aug 15, 2016 Muse rated it really liked it
Shelves: non-fiction
A lot of the significant moments that The Code Book points out, I've learned in history class. But the class never emphasized on the role of cryptography as a means to win wars and create significant changes in history. Having a perspective on the intellectual, mathematical side was incredibly enlightening (as a hopeful math/cs major), and Singh does an amazing job of breaking down the different types of ciphers and writing beautiful narratives of these mathematicians (hey, being a math major is ...more
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
Apr 28, 2014 NancyHelen rated it it was amazing
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
Jun 25, 2011 Jeffrey rated it really liked it  ·  review of another edition
Skillfully written and engaging history of the 2000+ year old struggle between the people who try to make messages secret and the people who try to decipher them. Singh is brilliant at creating detailed examples phrased for the general reader to demystify the math behind most modern cryptography, as well as finding historical examples of cryptography's often crucial role in world events. The only reason this book gets four stars instead of five is that it outdated... the last 10 years have seen ...more
Filipe Dias
Oct 21, 2015 Filipe Dias rated it it was amazing  ·  review of another edition
Even if you're only mildly curious about codes, cyphers or privacy, this book is the one to get.
A well crafted and accessible book that portrays some of the highlights of history on Cryptography and the need for secure communications. From early history to the near future, the battles between codemakers and code-breakers are hidden from sight but they're the cornerstone of any revolution and essential to commerce and wars.
Now more than ever, the concept of Privacy is defined by our understanding
Sep 19, 2016 Elyse rated it really liked it  ·  review of another edition
Can't say I followed everything in this book but I comprehended enough to enjoy it immensely. The secret codes used in early Western History (substitution and frequency codes) are easy to understand i.e. Mary Queen of Scots secret messages were fairly simple and it's a wonder she wasn't beheaded earlier. The Enigma machine and quantum cryptography made me dizzy. The author includes "fun exercises" in the back of his book. I skipped them. My brain is too out of shape. I mainly read this for the h ...more
Apr 04, 2016 Pio rated it it was amazing  ·  review of another edition
Shelves: non-fiction
Đây là quyển sách khoa học thường thức nghiêm túc đầu tiên xuất hiện trong nhà tôi, với chủ đề là một trong những mối quan tâm lớn trong thời thơ ấu của tôi (chỉ đứng sau âm nhạc và địa lý), nhưng mải đến giờ tôi mới chịu dành thời gian nghiêm túc cho nó. Những câu chuyện lịch sử và giai thoại đều hay và thú vị, còn các khái niệm về mật mã đã được giản lược và trình bày khá dễ hiểu. Dù không khơi gợi nổi trong tôi khả năng giải mã tuyệt diệu nào, chí ít nó cũng làm tôi vui thích cực kỳ.
« previous 1 3 4 5 6 7 8 9 99 100 next »
topics  posts  views  last activity   
Interesting book 3 33 Jan 25, 2015 06:08AM  
an eye-opener... 3 64 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
More about Simon Singh...

Share This Book

“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.” 3 likes
“if a message protected by quantum cryptography were ever to be deciphered, it would mean that quantum theory is flawed,” 1 likes
More quotes…