Block Cipher Modes Flashcards

1
Q

Cipher Block Chaining (CBC)

A

each block of plaintext is XORed with previous ciphertext block before being encrypted, each ciphertext block depends on all plaintext blocks processed up to that point, IV must be used in the first block
*pads blocks to fill, doesnt use partial

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

Counter (CTR)

A

STREAM*
Can turn a block cipher into a stream cipher (like OFB), generates the next keystream block by encrypting successive values of a “counter”

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

Cipher Feedback (CFB)

A

allows encryption of partial blocks rather than requiring full blocks for encryption, eliminates the need to pad blocks like CBC

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

Output Feedback (OFB)

A

STREAM*
makes a block cipher into a continuous stream cipher - generates keystream blocks, which are then XORed with plaintext blocks to get the ciphertext

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

Electronic Code Book (ECB)

A

each block is encrypted independently, BUT identical plaintext blocks are encrypted into identical ciphertext blocks
-simplest mode, each plaintext block encrypts to the same length ciphertext block, same plaintext = same ciphertext

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

Propagating Cipher Block Chaining (PCBC)

A

each block of plaintext is XORed with the XOR of the previous plaintext block before being encrypted - as with CBC mode, IV is used in the first block

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