Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions