Question

Topic: Intro to Cryptography

Collision-resistant hash function Let (Gen1, H1) and (Gen2, H2) be two hash functions, where at least one of them is collisio

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Note: please upvote my answer so that i can solve all your doubts and problems.

Collision resistance is a property of cryptography hash functions:

a hash function is collision resistant only if it is hard to find two inputs from that hash to the same output;

that is, two inputs a and b such that H(a) = H(b).

Every hash function with more inputs as compared to outputs will necessarily have collisions.

Ans.(a)

Ha is collision-resistant: As Ha(x) = Ha(y) as it implies that H1(x) = H1(y) and H2(x) = H2(y) any adversary which helps to find a collision for Ha can be used to construct an adversary which finds the collision for both H1 or H2.

Ans.(b)

Hb is not collision-resistant: Assuming H1 is the constant zero function (for all keys), it follows that Hb(x) = 0||H2(0) for any x.

Add a comment
Know the answer?
Add Answer to:
Topic: Intro to Cryptography Collision-resistant hash function Let (Gen1, H1) and (Gen2, H2) be two hash...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT