Types of Ciphers Flashcards
1
Q
Stream Cipher
A
- plaintext digits + key stream (pseudorandom cipher digit stream)
- each plaintext digit is encrypted one at a time
2
Q
Block Cipher
A
- applied to block of data (e.g. 64 contagious bits)
- at once as a group (NOT one bit at a time)
3
Q
Substitution Cipher
A
- random bit string (nonce)
- same length as block size XoRed with message
- IVs used to create unique cipher text every time
4
Q
Transposition Cipher
A
algorithm used to rearrange letters
5
Q
What kind of cipher are the following three?
- Caesar
- Vigenere
- One-Time Pad
A
Stream Cipher
6
Q
What is the difference between the following three stream ciphers?
- Caesar
- Vigenere
- One-Time Pad
A
Key length
7
Q
Key length of the Caesar shift cipher
A
1
8
Q
Key length of the Vigenere cipher
A
longer than Caesar: usually a word or a sentence
9
Q
Key length of One-time pad
A
as long as the message itself
10
Q
Success Factors of the One-time pad
A
- key must be generated randomly (no known pattern)
- key must be at least as long as the message itself
- pad must be protected against disclosure
- must be used only ONE time and then discarded