Skip to content

Estimates only. Not tax, legal, or investment advice.

Learn › Cryptography and Digital Cash (High school and up)

A History of Cryptography

14 minute lesson · then a 4-question quiz

Add this lesson to a curriculum for a student, a group or a team.

Hiding messages in the ancient world

Cryptography means writing in secret. The Spartans used a scytale, a rod around which a strip of leather was wound so that the message could be read only on a rod of the same thickness. Julius Caesar is said to have used a simple shift cipher, moving each letter three places, so that A became D. These ciphers are easy to break with patience.

In the ninth century, the Arab scholar Al-Kindi described frequency analysis. In any language some letters are more common than others, so counting letters in a coded message can reveal the shift. From then on, cipher makers needed more complex methods.

Machines, war, and mathematics

Later ciphers used many alphabets. The Vigenère cipher, from the 1500s, held up for centuries before being broken in the 1800s. In the twentieth century, machines such as Germany's Enigma automated the process. Polish mathematicians broke early versions, and a British team at Bletchley Park, including Alan Turing, broke later ones, an effort that historians say helped shorten the war.

In 1949, Claude Shannon published a paper that gave cryptography a mathematical foundation. Information theory made it possible to say what a secure system is, rather than just hoping.

The key distribution problem and public keys

For thousands of years, both sides needed the same secret key, which had to be shared in advance. That does not work for strangers on the internet. In 1976, Whitfield Diffie and Martin Hellman published a method for two parties to agree on a secret over a public channel. In 1977, Rivest, Shamir, and Adleman introduced RSA, a public-key system. A public key can be shared with everyone and used to lock a message that only the matching private key can open. The same idea can be used in reverse to sign messages.

In the 1990s, strong cryptography became available to ordinary people through tools such as PGP, written by Phil Zimmermann in 1991, despite government efforts to restrict it, a fight sometimes called the crypto wars. A group of activists, the cypherpunks, argued that privacy in the digital age depends on strong cryptography. Their work laid the ground for digital cash and eventually Bitcoin.

Key ideas

  • Early ciphers fell to frequency analysis.
  • Shannon gave cryptography a mathematical base in 1949.
  • Public-key cryptography solved the problem of sharing keys with strangers.
  • The cypherpunks pushed strong cryptography into public hands.

Try it with the free tools: The CFO Dad book

Quiz

Get 75% or better to finish this lesson. You can try as many times as you like.

1. What did Al-Kindi describe?
2. What problem did Diffie and Hellman address in 1976?
3. Where was the Enigma code broken?
4. What does a public key allow?

Educational only. Not tax, legal, or investment advice. Numbers and rules change, so check current sources.