Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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