Chapter 2: Stream and Block Ciphers Flashcards

1
Q

What is a block cipher vs a stream cipher?

A

A block cipher processes the input one block of elements at a time

A stream cipher processes the input elements continuously, one element at a time.

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

What is the RC4 algorithm?

A

It is a variable key-size stream cipher with byte-oriented operations. It is based on the use of a random permutation. It is used in the SSL/TLS standards, the WEP and WPA protocols.

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

How does the RC4 work?

A

A variable-length key from 1-256 bytes is used to initialise a 256-byte state vector S. At all times S contains a permutation of all 8-bit numbers from 0-255. For encryption and decryption, a byte k is generated from S by selecting one of the 255 entries in a systematic fashion. As each value of k is generated, the entries in S are once again permuted.

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

What are some modes of operation for block ciphers?

A

ECB -electronic code book

CBC - cipher block chaining

CFB - cipher feedback

CTR - counter

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