ArticleslgStudy

computer science

History of cryptography

History of cryptography is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand History of cryptography rather than just read about it. In short: Cryptography, the use of codes and ciphers, began thousands of years ago. Until recent decades, it has been the story of what might be called classical cryptography — that is, of methods of encryption that use pen and paper, or perhaps simple mechanical aids.

History of cryptography — main illustration
History of cryptography — illustration

Key takeaways

  • History of cryptography belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect History of cryptography to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of History of cryptography from memory before moving on to harder problems.

Reference excerpt

Cryptography, the use of codes and ciphers, began thousands of years ago. Until recent decades, it has been the story of what might be called classical cryptography — that is, of methods of encryption that use pen and paper, or perhaps simple mechanical aids. In the early 20th century, the invention of complex mechanical and electromechanical machines, such as the Enigma rotor machine, provided more sophisticated and efficient means of encryption; and the subsequent introduction of electronics and computing has allowed elaborate schemes of still greater complexity, most of which are entirely unsuited to pen and paper. The development of cryptography has been paralleled by the development of cryptanalysis — the "breaking" of codes and ciphers. The discovery and application, early on, of frequency analysis to the reading of encrypted communications has, on occasion, altered the course of history. Thus the Zimmermann Telegram triggered the United States' entry into World War I; and Allies reading of Nazi Germany's ciphers shortened World War II, in some evaluations by as much as two years. Until the 1960s, secure cryptography was largely the preserve of governments. Two events have since brought it squarely into the public domain: the creation of a public encryption standard (DES), and the invention of public-key cryptography.

Antiquity

The earliest known deliberate transformation of a text is found in non-standard hieroglyphs carved into the wall of a tomb from the Old Kingdom of Egypt circa 1900 BC. This non-standard script was formed by replacing similar looking pictograms with each other and use of the rebus principle, where pictograms that begin with a sound come to represent that sound. These are not thought to be serious attempts at secret communications, however, but rather to have been attempts at mystery, intrigue, or even amusement for literate onlookers. Some clay tablets from Mesopotamia somewhat later are clearly meant to protect information—one dated near 1500 BC was found to encrypt a craftsman's recipe for pottery glaze, presumably commercially valuable. It was encoded by replacing cuneiform symbols with other symbols in their least common values (pronunciations). Furthermore, Hebrew scholars made use of simple monoalphabetic substitution ciphers (such as the Atbash cipher) beginning perhaps around 600 to 500 BC. The Kama Sutra, estimated to have been composed in India between 400 BC to 300 AD, lists 64 arts recommended for a better quality of life, including a reference to Mlecchita vikalpa, "the art of understanding writing in cypher, and the writing of words in a peculiar way." This was recommended for private communication between lovers. As the Kama Sutra only contains a general reference in a list and not a description, it is unclear what precisely it referred to at the time. Later commentaries on the Kama Sutra offer detailed instructions for substitution ciphers, but these were composed between the tenth and thirteenth centuries AD. Parts of the Egyptian demotic Greek Magical Papyri were written in a cypher script. The ancient Greeks are said to have known of ciphers. The scytale transposition cipher was used by the Spartan military, but it is not definitively known whether the scytale was for encryption, authentication, or avoiding bad omens in speech. Herodotus tells us of secret messages physically concealed beneath wax on wooden tablets or as a tattoo on a slave's head concealed by regrown hair, although these are not properly examples of cryptography per se as the message, once known, is directly readable; this is known as steganography. Another Greek method was developed by Polybius (now called the "Polybius Square"). Originally a method of fire signaling over long distances, it later evolved into a method of cryptography. The Greek writer Aeneas Tacticus had also devised an early form of the pinhole cipher, and a method of cryptography where vowels were replaced by dots. The Romans were also knowledgeable about cryptography. For instance, the Caesar cipher of Julius Caesar and its variations, used for clandestine communication.

Medieval cryptography

… excerpt ends here. Continue reading the full article.

Illustrations

History of cryptography: The first page of al-Kindi's manuscript On Deciphering Cryptographic Messages, containing the first descriptions of cryptanalysis and frequency analysis.
The first page of al-Kindi's manuscript On Deciphering Cryptographic Messages, containing the first descriptions of cryptanalysis and frequency analysis.
History of cryptography: The Enigma machine was widely used by Nazi Germany; its cryptanalysis by the Allies provided vital Ultra intelligence.
The Enigma machine was widely used by Nazi Germany; its cryptanalysis by the Allies provided vital Ultra intelligence.
History of cryptography: SIGABA is described in U.S. patent 6,175,625, filed in 1944 but not issued until 2001.
SIGABA is described in U.S. patent 6,175,625, filed in 1944 but not issued until 2001.

Worked examples

Example 1 — a first encounter with History of cryptography

Start with the simplest possible case. Write down what History of cryptography claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to History of cryptography before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about History of cryptography ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of History of cryptography

In research
History of cryptography appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses History of cryptography in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
History of cryptography is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classical cryptography, History of cryptography, History of telecommunications, so understanding it makes those chapters shorter.
In everyday life
Look for History of cryptography outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study History of cryptography in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what History of cryptography means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain History of cryptography out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is History of cryptography in simple terms?

Cryptography, the use of codes and ciphers, began thousands of years ago. Until recent decades, it has been the story of what might be called classical cryptography — that is, of methods of encryption that use pen and paper, or perhaps simple mechanical aids.

Why does History of cryptography matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study History of cryptography?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on History of cryptography.

Tags

  • Classical cryptography
  • History of cryptography
  • History of telecommunications
  • Military communications

Keep exploring