Hash Function

A hashing function is a function which takes an input of any size and produces an output of a fixed size. This is done through a process of mathematical manipulation, and the result is called a hash. Hashing functions are used in cryptography to create message digests, or hashes, of data. These hashes are used to verify the integrity of data, as well as to ensure that messages have not been tampered with.