Secure channels Flashcards

1
Q

mention 3 possible protocol designs of mac and encryption algorithm and explain them.

A

MAC then ENC - ENC k-enc(m,MAC k-int(m)) not safe when the hash is weak

MAC and ENC - ENC k-enc(m), MAC k-int(m) same thing, the weakest between all

ENC then MAC - ENC k-enc(m) , MAC k-int(ENC k-enc(m) - best option

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

What is AEAD? what are its advatanges?

A

authenticated encryption with associated data.
One pass encryption and MAC calculation for payload including “associated data”

Advanatges:
1.algorithms correctly combine message encryption and authentication and are standarized.
2.AEAD needs one pass over the data.

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

Name 2 attacks against secure channel and explain them.

A

1.Re-Use of Initialization Vector:
when using same IV, we will get to a point where if we XOR both encrypted messages which were encrypted with the same IV vector, the value will be equal to the xored plain texts of the same messages. If one plaintext is known, then we can know the other plaintext.
2. padding oracle attack

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