Intro Flashcards

1
Q

What are the advantages of the “One-Time Pad”?

A

The ciphertext will not reveal any information about the plaintext.

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

Q
What are the disadvantages of the “One-Time Pad”?

A
  1. The key always has to be as long as the plaintext.
  2. The key has to be truly random.
  3. Insecure against the “two-time pad” (if the same key is used twice)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What makes a cipher “Perfectly Secure”?

A

When the distribution of characters/letters does not change when different plaintexts are used.

That is, when a ciphertext does not have any possibility of revealing further information about the plaintext.

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

What is the “One-Time Pad”?

A

The one-time pad (OTP) is an encryption method that relies on a unique, random key as long as the plaintext, combining characters using XOR to produce ciphertext, ensuring perfect secrecy when keys are never reused.

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

What is a nonce?

A

A number that should only be used once.

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

What is a nonce used for?

A

A nonce can be combined with the original key used in the One-Time Pad to generate a key the same length as the message, allowing keys to technically be reused, and making them resistant to the Two-Pad attack.

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

What is PRG? What time does it run in?

A

A
PRG is a pseudo-random number generator. It takes a random bitstring, or seed, and expands it into a longer pseudo-random string.

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

What examples of PRG exist?

A

A
Linear Feedback Shift Register (LFSR)

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

Why is LFSR not suitable?

A

After a certain amount of ticks, LSFR will repeat. If the coefficient of LSFR is known, an attacker can obtain the original state.

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

How LFSR be made more secure?

A

By combining numerous LSFRs with a non-linear function.

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

What are the pros of Stream Ciphers?

A
  1. Efficient, and can be realised in hardware.
  2. Buffering data is not necessary, so plaintext length is not needed to be known.
  3. Not prone to errors (due to low error propagation)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the cons of Stream Ciphers?

A
  1. Does not offer integrity (attackers can easily and broadly alter plaintext by changing ciphertext)
  2. Low diffusion (changing one ciphertext character changes one plaintext character)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly