L17 - Hashes Flashcards

1
Q

If the length of a hash is 128 bits, then how many messages does an attacker need to search in order to find 2 that share the same hash

a) 128
b) 2^127
c) 2^128
d) 2^64

A

d) 2^64

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

The one-way hash function is important not only in message authentication, but also in digital signatures

a) True
b) False

A

b) False

One-way function is important for only message authentication but not for digital signatures

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

SHA processes the input one block at a time but each block goes through the same processing

a) True
b) False

A

a) True

This is how SHA works

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

HMAC is secure provided that the embedded hash function has good cryptographic strengths such as one-way and collision resistant

a) True
b) False

A

a) True

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