// I need to

ModernizeUpgrade without breaking it RescueFix what someone else started Build NewTurn an idea into a product Reach More PeopleGet found, get used, include everyone

// Company

Case StudiesExpertiseAbout + CareersResourcesContact Book a call →

Book Review: An Introduction to Cryptography

A review of An Introduction to Cryptography by Jon Callas, a readable primer for developers who want to go deeper than the crypto API docs.

Art+Logic Jul 11, 20132 min read

From the Art+Logic archive · written in 2013. The tools may have moved on; the thinking still holds.

Image of book of old times by titouan russo from Flickr

In my quest for more knowledge of cryptography, I’ve started reading actual books (instead of just reading API reference documents.) If you’re like me, and you’ve decided that going deeper than just making the code work is a good thing, read on.

Today, I’m going to talk briefly about An Introduction to Cryptography by Jon Callas. The book is distributed by Symantec with the PGP Desktop. It is also available from their web site if you’re willing to dig deeply enough.

The Author

Jon Callas is a very intelligent fellow and an articulate communicator. As evidence of the former, I refer you to his page dedicated to cat pictures. For the latter, you’ll have to read one of his books. If you don’t want to bother with that, you can read a recent interview he did with the folks over at SpiderOak.

The Book

As you would expect with any introduction to a topic, Callas begins (chapter two) with a list of reasons to use encryption. He touches on the obvious (protection of proprietary databases), the less obvious (protection of data on laptops which get lost or stolen) and the nearly unknown (protection for regulatory compliance.) He also notes that there have been limitations on the use of cryptography but describes them as a thing of the past. I contend that his final point is not as accurate as it ought to be. The reality is that the use of cryptography in many nations is overlooked when it is convenient (e.g., in web browsers,) but still regulated or outlawed for more direct applications (e.g., file or message encryption.)

Chapter three is “An Inadequate History of Cryptography”. It is both entertaining (“on occasions puckish”) and a good introduction to the backstories for machine and computer cryptography, and the DES, 3DES and AES algorithms. He finishes with a bit about The Crypto Wars which seems overly dramatic. Perhaps it’s easier for me to say that since I didn’t live it.

The fourth chapter is the meat of the book. This is the part that is interesting if you’re trying to sort out the difference between ciphers and hash functions or MACs and signatures. There is also a useful discussion of trust (which is to be expected when PGP is in the story.) He finishes with the basic recipes for encryption and decryption, which are useful for understanding how real-world implementations actually work.

The last chapter of the book is forward-looking. Callas discusses potential social changes brought about by the ubiquity of cryptography. Perhaps his most important point of this chapter is that cryptography is useful, but not a panacea. Again, this is an entertaining read, with references to space aliens and losing luggage.

If you find yourself fascinated by the world of cryptography, yet find yourself struggling to understand the basic concepts, An Introduction to Cryptography is an approachable and useful read. I suggest that any engineer within spitting distance of a cryptographic system should take half of a day to readit.

keep going

More to explore in Build New.

All Build New resources →
let's talk

Got a problem like this one?

Tell us what's stuck. A real person replies within one business day.

Talk to our team →

Talk to people who know software, not a sales script.

Your first call is with Aja, our VP of Sales. He'll help make sure you're solving the right problem. Here's what you'll cover together:

  1. What you're trying to accomplish

    The business goal first, then the technology.

  2. Possible approaches

    And the tradeoffs of each, in plain language.

  3. Risks you may not have considered

    Technical and business, before they cost you.

  4. Whether AI changes the math

    What's practical, and what's just hype for your project.

  5. Sensible next steps

    Even if the right next step is not us.

book-a-call.ics

Loading the scheduler…

Open the booking page →

Some problems are easier to explain in writing. Send us a few lines about what you're working on, and we'll reply within one business day. Helpful to include:

  1. What the software does, or should do
  2. What's stuck, or what's worrying you
  3. Any deadline or budget you have in mind
note.md

Loading the form…