1. 1 Hash Algorithm 2. Hash AlgorithmHash Algorithm A hash algorithm is a one way function that converts a data string into a numeric string output of fixed length. The…