Further to the discussion herein, a discussion of one-way hash functions is provided in chapter 18 of Schneier, Applied Cryptography, John Wiley (2d ed. 1996) which is incorporated herein by reference.A hash function is a function that takes a variable-length input string and converts it to a fixed-length output string.