A hash function or hash algorithm is a function for examining the input data and producing an output hash value. The process of computing such a value is known as hashing.