4. Cryptography: stream ciphers Flashcards

1
Q

What is a symmetric cipher comprised of?

A
  • encryption algorithm

- decryption algorithm

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

What is Kerckhoffs’s principle?

A

A cryptosystem should be secure if everything but the key is public knowledge

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

What is realistic computational power?

A

2^80

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

What is a ciphertext only attack?

A

Attacker has access to some ciphertexts

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

What is a known plaintext attack?

A

Attacker has some plaintext/ciphertext pairs

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

What is a chosen plaintext attack?

A

Attacker can trick user to encrypt messages of his choice

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

What is a chosen ciphertext attack?

A

Attacker can trick user to decrypt messages of his choice

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

How do you make brute-force attack on keys unfeasible?

A
  • Set of keys should be sufficiently large

- Keys should be sampled uniformly at random

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

What is the key for one-time pad?

A

Random string of bits as long as the message

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

How do you encrypt with one-time pad?

A

XOR the key and plaintext

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

How do you decrypt with one-time pad?

A

XOR the key and ciphertext

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

What is the limitations of OTP?

A
  • Key length
  • Requires true randomness
  • Perfect secrecy doesn’t capture all attacks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is perfect secrecy?

A

Ciphertext conveys no information about the content of the plaintext

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

What is the idea of stream ciphers?

A

Make OTP practical using a pseudo-random key (from seed key)

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

What does PRNG stand for?

A

pseudo-random number generator

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