Hashing Flashcards

1
Q

When is the function f: X -> Y one way?

A

A function is one way if its easy to compute but given y in Y it is difficult find an x in X with f(x) = y

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

When is a function f: X -> Y weakly collision resistant?

A

If for a given X it is difficult to find x’ in X different with f(x) = f(x’)

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

When is a function f: X -> Y is strongly collision resistant?

A

If it is difficult to find any x and x’ such that f(x) = f(x’)

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

What are the requirements for a good cryptographic hash function?

A

A cryptographic hash function is one-way and strongly collision-resistant

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

What does it mean to be weakly collision resistant?

A

A hash function is weakly collision resistant if it is difficult to find two different inputs that hash to the same output

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

What does it mean to be strongly collision-resistant?

A

Strongly collision resistant means that it is computationally infeasible to find any two distinct inputs that hash to the same output

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

What is MD5?

A

A cryptographic protocol used for authentication messages as well as content verification and digital signatures`

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

What is SHA?

A

Secure Hashing Algorithm.

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

What is hashing used for?

A

Hashing is used to generate a Message Authentication Code (MAC) that can be used to confirm that a received message is the same as the sent message

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