Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started