Question: Explain why a hash function is not appropriate for encrypting data (even if you use a key with it). Say you are given a hash

Explain why a hash function is not appropriate for encrypting data (even if you use a key with it).

Say you are given a hash function that produces an 80-bit digest, along with a message digest d. Using random guessing, how many guesses would you expect it to take to find a preimage?

2^80 (CORRECT?) Say you are given an 80-bit hash function as in the previous question. Using random guessing, roughly how many guesses should it take to find two messages with the same digest?

h(m1)=h(m2)

2^80 (CORRECT?) or 2^40

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!