Week 1 - Substitution Cyphers Flashcards

1
Q

What are the two main techniques used in traditional cyphers?

A
  1. Substitution - Replacing plaintext with ciphertext
  2. Permutation (rearranging text of plaintext)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Caesar cipher?

A

Where letters are shifted left or right by a number

e.g.

A B C key = 3

A B C = D E F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Vigenère cipher?

A
  1. Pick a keyword = KEY
  2. message = “HELLO”
  3. Repeat keyword to match message
    KEYKE
    HELLO
  4. shift letters by number of places of corresponding letters
    7 10 17
    H + K = R
    E + E = I
  5. Result = RIJVS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Permutation?

A

Rearranges the order of text.

e.g

take every 2nd letter and move to bottom

HELLO WORLD

top :H L O O L
bottom: E L W R D
result = HLOOLELWRD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly