Q: Of the following options, which are true of an ideal hash function? Select all that apply.
or
Q: Which of the following statements about an ideal hash function is true? Choose every option that pertains.
- It maps any amount of data to an output of fixed size.
- It is possible to recover the original plaintext from the hash output.
- They are deterministic.
- A change in input is not correlated with the resulting change in the output.
Explanation: Regardless of the amount of data that is being entered, an ideal hash function will always generate a hash value (or hash code) of a constant size instead. When given the same data to work with, a perfect hash function will always provide the same hash result on every occasion.An ideal hash function demonstrates the “avalanche effect,” which means that even a little alteration in the data that is entered should result in a drastically different hash output. Furthermore, there is no predicted link between the changes in input and the changes in output.