Question: Suppose h 1 : {0,1} 2m {0,1} m is a collision resistant hash function. (1) Define h 2 : {0,1} 4m {0,1} m as follows:
Suppose h1: {0,1}2m {0,1}m is a collision resistant hash function.
(1) Define h2: {0,1}4m {0,1}m as follows:
a. Write x{0,1}4m as x=x1||x2, where x1, x2 {0,1}2m.
b. Define h2(x)=h1(h1(x1)||h1(x2)).
Prove that h2 is collision resistant.
(2) For an integer i 2, define a hash function hi: {0,1}
(2^i)m {0,1}m recursively from hi-1, as follows:
a. Write x {0,1}
(2^i)m as x=x1||x2, where x1, x2 {0,1}
(2^i)m
b. Define hi(x)=h1(hi-1(x1)||hi-1(x2)).
Prove that hi is collision resistant.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
