Answer:
Hash function is basically use to represent and index the actual value and key. It is one way operation in which the data is associate with the value and key in the function.
The main purpose of hash function is to maintain the integrity of the data. It basically consist two properties that are:
- It is one way property hash function
- It has property of collision resistance
The main goal of hashing function is to convert the input of variable length into the field length which is known as hash value by using the cryptographic block.