Block Ciphers & Operation Modes Flashcards

1
Q

Block Ciphers

A

Process messages in blocks (64 bits or more), then en/decrypt them; is reversible if and only if 1-to-1 mapping between plain and cipher text exists

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

Stream Ciphers

A

Process message bit or byte at a time when en/decrypting; Ex: Vigenere cipher

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

Diffusion

A

Change in statistical structure of plaintext when converted to ciphertext; means small plaintext change=massive ciphertext change

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

Confusion

A

Make it hard to change ciphertext to plaintext, derive keys, etc.; means larger key size=better confusion

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

DES (Data Encryption Standard)

A

One symmetric key for en/decrypting; 2^56 distinct keys (not enough; obsolete)

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

Double-DES

A

DES w/ 2 keys; K1 than K2 to encrypt, K2 than K1 to decrypt; 2^112 distinct key pairs; 2^64 different ciphertext

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

Meet-in-the-middle Attack

A

For Double-DES; for each possible K1, for each possible K2, if EK1(P1) = DK2(C1) and EK1(P2) = DK2(C2), K1 and K2 are now cracked; O(2^56), NOT THAT LONG

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

Triple-DES

A

3 keys; no practical attacks; backwards compatible with single-DES even though it only has one key, use it for all encryptions

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

CBC (you know this)

A

Uses previous ciphertext to create next ciphertext block

Advantages-Excellent Diffusion

Disadvantages-Need unpredictable and integrity-guaranteed IV or plaintext can be easily modified by attackers

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

CFB (you know this)

A

Like CBC, but some differences (like only using certain bits of ciphertext)

Advantages-Great for streams of data (in bits/bytes)…

Disadvantages-…but not really (does block encryption still)

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