Lecture Notes Flashcards
What is a cipher?
A pair of functions (Encryption & Decryption) that satisfy the consistency equation.
What is the consistency equation?
It is where you pass the plaintext into a function, you have some form of key that you plan
to use for the encryption, and out the other side should come the ciphertext. Then the converse
has to work as well, whereby you pass the ciphertext into a function, then key is used to perform
the decryption and out comes the plaintext.
P = plaintext
K = key
C = ciphertext
E = encryption
Algorithm = C = E(k,p)
What is a substitution cipher?
It is a method of encyption. Units of plaintext are replaced by ciphertext in a defined manner with the help
of a key. The letters are changed, but the position does not change.
Name three types of substitution ciphers
- Monoalphabetic
- Polyalphabetic
- Polygraphic
What is a mono-alphabetic substitution cipher?
It uses a simple 1 to 1 mapping. It uses a fixed key which consists of 26 letters of a shuffled alphabet.
What is a Polyalphabetic cipher?
A polyalphabetic cipher substitution, using multiple substitution alphabets. The Vigenère cipher is probably the best-known example of a polyalphabetic cipher, though it is a simplified special case.
What is a transpositional cipher?
No substitution takes place. Ciphertext is an anagram of the original message.
Name two types of transpositional cipher
- Rail Fence
- Columnar Transposition Cipher
List five types of substitution ciphers
- Rotational
- Symbol substitution
- Homophonic
- Polyalphabetic
- Polygraphic
Rot13 is an example of what type of substitution cipher
Rotational / shift cipher
Pigpen is an example of what type of substitution cipher
Symbol substitution
Zodiac killer is an example of what type of substitution cipher
Homophonic
Vigenere is an example of what type of substitution cipher
Polyalphabetic
Playfair is an example of what type of substitution cipher
Polygraphic
What is frequency analysis in cryptography
It is the study of the frequency of letters or groups of letters in a ciphertext