P2L6: Symmetric Encryption Flashcards

1
Q

What does confusion mean regarding encryption and how is it achieved?

A

* It is an encryption operation where the relationship between the key and cipher text is obscured * Generally achieved through substitution

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

What is diffusion in encryption?

A

* In an encryption operation where the influence of one plaintext data is spread over many ciphertext bits with the goal of hiding statistical properties of the plaintext * Generally achieved through permutations

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

What are rounds in ciphertext encryption?

A

diffusion and confusion by themselves aren’t enough, but after being applied multiple times through many rounds they are hard to crack

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

How many bits is the key in DES?

A

64 bits, but only 56 are used for data

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

What is the value length in DES?

A

* The key is 64 bits, but the value is only 56 bits since there are the parity bits * 64 bit input = 64 bit output

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

Mangler function performs both substitution and permutations. True/False

A

True

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

What are the problems with DES?

A

* Keyspace is too small and can be broken with today’s brute force computers. Just a 56-bit key. * S-box design criteria has been kept a secret and hasn’t been able to be reviewed.

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

What is Triple DES?

A

It is a way to secure DES by running it three times (effectively making a longer key)

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

What key lengths are possible with DES?

A

56, 112, and 168

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

What key lengths are possible with AES?

A

128, 192 and 256

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

What are the problems with the Electronic Code Book method?

A

* Doesn’t provide strong confidentiality protection since cryptanalysis can be used on repetitive blocks * Don’t defend against integrity attacks

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

What is the current way to encrypt a large message? How does it work? How many keys are involved?

A

* CBC (Cipher-Block Chaining) * CBC encryption works by XOR’ing the previous ciphertext block with the next ciphertext block * Use 2 keys

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

CBC is more secure than ECB. True/False

A

True

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