6. Cryptography: hash functions and MACs Flashcards

1
Q

What is a one way function?

A

A function f is one-way if for all y there is no efficient algorithm to compute x such that f(x) = y

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

What is a collision resistant function?

A

A function f is collision resistant if there is no efficient algorithm that can find m1, m2 such that f(m1) = f(m2)

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

What is the Merkle–Damgård construction?

A

Builds a collision-resistant cryptographic hash functions from collision-resistant one-way compression functions Split the message (padded with its length) into fixed blocks, feed each block combined with the output of the previous round into the function (use initialisation vector for first)

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

How do you encrypt with RSA?

A

m^e mod n where m is the message, and (e, n) is the encryption key

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

How do you decrypt with RSA?

A

c^d mod n where c is the ciphertext, and (d, n) is the decryption key

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

Show RSA is consistent

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