Hash functions

A hash function is a mathematical algorithm used to turn data of any size into a fixed length string of characters known as a hash. The output of a hash function is designed to be unique, so that any change to the input data should produce a different hash. Hash functions are used in many cryptographic applications, such as digital signatures and message authentication codes, as well as for data integrity validation.

Properties of a hashing algorithm

String hashing