History of Cryptography

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/64

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:26 PM on 9/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

65 Terms

1
New cards

What is a shift cipher?

A cipher that maps letters to numbers 0–25 and encrypts by adding a key k modulo 26.

2
New cards

What key did Julius Caesar use in the example shift cipher?

k = 3.

3
New cards

Under a Caesar shift of 3, what does ATTACK AT DAWN become?

DWWDFN DW GDZQ.

4
New cards

How can a shift cipher be broken?

By trying the small keyspace and/or using statistics of the underlying language.

5
New cards

Why is frequency analysis useful against simple substitution ciphers?

Because natural languages have characteristic letter, bigram, and trigram frequencies that the cipher does not fully hide.

6
New cards

What are some very common English bigrams in the notes?

Examples include TH, HE, IN, ER, AN, RE, ED, ON, ES, ST.

7
New cards

What are some very common English trigrams in the notes?

Examples include THE, ING, AND, HER, ERE, ENT, THA, NTH.

8
New cards

What is a substitution cipher?

A cipher where each plaintext letter is replaced by its permuted version.

9
New cards

How is a substitution cipher decrypted?

Using the inverse permutation.

10
New cards

How many possible keys does a monoalphabetic substitution cipher have?

26! ≈ 4.03 × 10^26 ≈ 2^88.

11
New cards

Why is a substitution cipher still breakable despite its huge keyspace?

Because language statistics survive and can be exploited with frequency analysis.

12
New cards

What main weakness do shift and simple substitution ciphers share?

A given plaintext letter always encrypts to the same ciphertext letter.

13
New cards

What is the Vigenère cipher?

A polyalphabetic substitution cipher that repeatedly applies shifts determined by a repeating keyword.

14
New cards

How does Vigenère encryption work numerically?

Map letters to 0–25 and add each plaintext letter value to the corresponding repeating key-letter value modulo 26.

15
New cards

Why is the Vigenère cipher called polyalphabetic?

Because the same plaintext letter can encrypt to different ciphertext letters depending on its position and the key letter used.

16
New cards

Who first cracked the Vigenère cipher according to the notes?

Charles Babbage in 1854.

17
New cards

Who published the first attack on the Vigenère cipher according to the notes?

Friedrich Kasiski in 1863.

18
New cards

What is the first step in the Kasiski-style attack described in the notes?

Look for repeated sequences of characters in the ciphertext.

19
New cards

How can repeated Vigenère ciphertext sequences reveal the keyword length?

Distances between repeated sequences are often multiples of the keyword length.

20
New cards

How is the keyword length estimated from repeated-sequence distances?

Take the greatest common divisor (gcd) of the distances.

21
New cards

Once the Vigenère keyword length is known, how are key letters attacked?

Take every nth letter for each key position and use frequency analysis as if attacking a shift cipher.

22
New cards

What keyword was recovered in the Vigenère example in the notes?

CRYPTO.

23
New cards

What is the Vernam cipher / one-time pad?

A cipher that XORs a binary plaintext with a truly random key of the same length, used only once.

24
New cards

What is the one-time pad encryption rule?

c = m ⊕ k.

25
New cards

What is the one-time pad decryption rule?

m = c ⊕ k.

26
New cards

What is XOR?

Exclusive OR: 0⊕0=0, 0⊕1=1, 1⊕0=1, 1⊕1=0.

27
New cards

Why does XOR allow the same operation for encryption and decryption?

Because XORing with the same key twice cancels it: (m ⊕ k) ⊕ k = m.

28
New cards

What conditions are required for perfect secrecy with a one-time pad?

The key must be truly random, at least as long as the plaintext, and never reused.

29
New cards

Why is reusing a one-time pad key dangerous?

Because c1 ⊕ c2 = m1 ⊕ m2, which removes the key and leaks information about the plaintexts.

30
New cards

What major practical problem does the one-time pad have?

Key distribution, because the key must be at least as long as the message and used only once.

31
New cards

What is a rotor machine?

A mechanical/electromechanical cipher machine that changes the substitution as rotors move.

32
New cards

Why do rotors make the substitution change?

Each rotor movement changes the mapping, producing a new substitution cipher for later letters.

33
New cards

What is Enigma?

The most famous rotor-based cipher machine discussed in the notes.

34
New cards

In the simple Enigma version in the notes, how many rotors were chosen and from how many?

Three rotors chosen from a set of five.

35
New cards

How many ordered ways were there to choose 3 rotors from 5?

5 × 4 × 3 = 60.

36
New cards

How many possible initial rotor positions were there for three 26-position rotors?

26^3 = 17,576.

37
New cards

What did the Enigma plugboard do?

It mapped pairs of letters to each other before the rotors encrypted them, adding complexity.

38
New cards

What made Enigma's message-key procedure vulnerable?

Operators encrypted the chosen message rotor setting twice using the day's settings.

39
New cards

What are 'cribs' in Enigma cryptanalysis?

Predictable or common plaintext phrases that attackers could expect to appear in messages.

40
New cards

Why were daily weather reports useful to Enigma cryptanalysts?

They were sent regularly and followed a predictable template, giving likely plaintext.

41
New cards

What operational weakness did Enigma operators have regarding message keys?

Keys were often not truly random, were reused, or chosen from a small subset.

42
New cards

What property of Enigma's reflector weakened it?

Encryption became involutary: if K maps to T, then T maps to K.

43
New cards

What other restriction did the Enigma reflector create?

No letter could encrypt to itself.

44
New cards

What did the notes identify as a Kerckhoff's Principle problem in Enigma?

Security depended partly on secret rotor wiring, which was part of the algorithm rather than the key.

45
New cards

Which historical ciphers are monoalphabetic in the notes?

Shift cipher and substitution cipher.

46
New cards

Which historical ciphers are polyalphabetic in the notes?

Vigenère and Enigma.

47
New cards

Why were simple historical ciphers easy to break?

They did not sufficiently conceal statistical characteristics of the plaintext language.

48
New cards

What is substitution intended to provide in modern cipher design?

Confusion: making the relationship between the key and ciphertext complex.

49
New cards

What is permutation intended to provide in modern cipher design?

Diffusion: making each ciphertext bit/symbol depend on many plaintext bits/symbols.

50
New cards

What two techniques do modern ciphers typically combine?

Substitution and permutation.

51
New cards

What is a block cipher?

A cipher that applies an encryption function to small fixed-size blocks of plaintext at a time.

52
New cards

What is a substitution-permutation network?

A cipher structure that uses both substitution and permutation.

53
New cards

What does computational security mean in practice?

The best known attack requires an unreasonably large amount of computation/time.

54
New cards

Can practical systems usually be proved absolutely secure under computational security?

No.

55
New cards

What is 'provable security' in the notes?

Security shown relative to a well-studied hard problem, not an absolute proof of security.

56
New cards

What must be monitored over time for computationally secure systems?

Key sizes and algorithmic developments.

57
New cards

What is unconditional security?

Security with no bound on the adversary's computational power; even infinite computing power does not break the system.

58
New cards

What probability condition expresses unconditional security in the notes?

p(P = m | C = c) = p(P = m) for all plaintexts m and ciphertexts c.

59
New cards

What does that unconditional-security probability condition mean in words?

Observing the ciphertext gives no information about the plaintext.

60
New cards

What key-space requirement follows from unconditional security in the notes?

|keys| ≥ |messages|.

61
New cards

Why is unconditional security usually impractical?

It requires very large key spaces and creates serious key-distribution problems.

62
New cards

What is the aim of modern cryptography regarding key and message lengths?

Allow one short key to encrypt a long message and allow a key to be used many times, while remaining computationally secure.

63
New cards

Which cipher in the notes can be unconditionally secure if used correctly?

The Vernam cipher (one-time pad).

64
New cards

Which examples in the notes are not computationally secure?

Caesar/shift, substitution, and Vigenère ciphers.

65
New cards