Symmetric crypto Flashcards

1
Q

What is symmetric encryption and what does it provide from the security requirments?

A

Symmetric encryption uses a shared key. It only provides Confidentiality

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

what is one time pad and what is its requirements?

A

OTP is stream cipher it uses XOR and key stream.
Key otp must have same size as message.
Key must be used only once.
Key must be perfectly random.

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

What is Kerchkoffs principle?

A

It states that the cipher method must not be required to be secret. the security should depends on the key which must be kept secret.

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

What are the modes of encryption for block cipher?

A

ECB - electronic cipher book
CBC - cipher block chaining
OFB -output feedback mode
CTR - Counter mode

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

Why do we need the initializing vector?

A

to prevent having the same plaintext result in the same (guessable) ciphertext

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