. "A hash function is a function that maps a variable-length input string (i.e. document) and converts it to a fixed-length output string, usually smaller, called a hash-value." . . .