Question: Consider the following hash function H ( m ) , which receives as an input a message in the form of a sequence of decimal

Consider the following hash function H(m), which receives as an input a message in the
form of a sequence of decimal numbers, m=(D1,D2,dots,DI). A) If H(m) is defined as (i=1IDi)modn, for some predefine large value n. Does this hash function satisfy the pre-image resistance (one-way property) requirement? Explain your answer.
B) If H(m) is defined as (i=1IDi2)modn, for some predefine large value n. Does this hash function satisfy the collision resistance requirement? Explain your answer.
C) Calculate the hash function of part (B) for m=(189,632,900,722,349) and n=989.

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!