Week 1 - Substitution Cyphers Flashcards
1
Q
What are the two main techniques used in traditional cyphers?
A
- Substitution - Replacing plaintext with ciphertext
- Permutation (rearranging text of plaintext)
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
3
Q
What is the Vigenère cipher?
A
- Pick a keyword = KEY
- message = “HELLO”
- Repeat keyword to match message
KEYKE
HELLO - shift letters by number of places of corresponding letters
7 10 17
H + K = R
E + E = I
… - Result = RIJVS
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
4
Q
A