Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. . 5. Let F be a hash function (both inputs and outputs are binary words). Consider the following algorithm that tries to identify collisions.

image text in transcribed
. . 5. Let F be a hash function (both inputs and outputs are binary words). Consider the following algorithm that tries to identify collisions. Take some positive integer number n. Take some n arbitrary but different inputs for F. Apply F on each of these n inputs. As a result n hashes are obtained. If two of the inputs generate the same hash report that a collision is found. Otherwise, report failure to find a collision. (a) Suppose that the F always generates a hash of length k. What is the smallest value of n that guarantees that a collision will be found by the above algorithm? (10 marks) (b) Why are functions generating short hashes (e.g. of length up 30) not collision resistant? Your answer must be based on your answer for part a). (10 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago