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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Transposition Cipher

A

algorithm used to rearrange letters

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

What kind of cipher are the following three?

  • Caesar
  • Vigenere
  • One-Time Pad
A

Stream Cipher

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

What is the difference between the following three stream ciphers?

  • Caesar
  • Vigenere
  • One-Time Pad
A

Key length

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

Key length of the Caesar shift cipher

A

1

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

Key length of the Vigenere cipher

A

longer than Caesar: usually a word or a sentence

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

Key length of One-time pad

A

as long as the message itself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly