Question: a. Consider the following hash function. Messages are in the form of a sequence of decimal numbers, M= (a1,a2,,at). The hash value h is calculated

 a. Consider the following hash function. Messages are in the form

a. Consider the following hash function. Messages are in the form of a sequence of decimal numbers, M= (a1,a2,,at). The hash value h is calculated as (i=1tai)modn, for some predefined value n. Does this hash function satisfy any of the requirements for a hash function listed under the subtopic 2 "Hash Function Requirements" of topic 3 "Secure Hash Functions" of the module or Section 3.2 of the textbook? Explain your answer. b. Repeat part (a) for the hash function: h=(i=1t(ai)2)modn 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!