Question 1
Answer 1
Given:
2000 bits message is used to produce 256 bits hash
The number of different message which can be produce are = 22000
The number of different hash which can be produce = 2256
Hence the average number of messages having same hash = 22000/2256 = 22000 – 256 = 21744
Thus above result state that to have unique hash value for different message the length of message must be approximately equal or less than the length of hash.