If you have to generate a hash function then what characteristics are needed in a secure hash function?A secure hash function should have the following characteristics:
i. The output generated by a hash function should be of a fixed length.
ii. It should be very easy to find out a hash function for a given message.
iii. If a hash value is given of a message than it is almost impossible to get that message.
iv. The two different messages should not have the same hash value; it is against the hash function property.