Modern Stream Ciphers Flashcards

Lecture 4 (7 cards)

1
Q

How does a flip-flop operate?

A

A flip-flop is a bit that is constantly changing value e.g. 1 or 0, and the output is only updated when the clock signals it to do so.

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

What is a Linear-feedback Shift Register (LFSR)?

A

A linear-feedback shift register is a register of bits whose positions shift to the right when the clock pulses.
It is usually comprised of flip-flops, where the last bit represents the output.

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

What advantages of using LFSRs are there?

A
  • Fast and efficient
  • Simple design architecture
  • Can generate long sequences with few resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some limitations of LFSRs?

A
  • They are linear, so future bits can be predicted with enough output data
  • Vulnerable to attacks like the Berlekamp-Massey algorithm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you make LFSRs more secure?

A

Combine multiple LFSRs together in a non-linear way

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

What is ChaCha20?

A

ChaCha20 is a stream cipher which is very lightweight and uses only add, xor and rotate operations.

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

How does ChaCha20 work?

A

ChaCha performs 20 rounds, where it alternates column and diagonal rounds. Each of these rounds are 4 quarter rounds.

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