The ideal cryptographic hash function has four main properties : Cryptographic hash functions have many information security applications , notably in digital signatures , message authentication codes ( MACs ) , and other forms of authentication .
The ideal hash function has three main properties : Functions with these properties are used as hash functions for a variety of purposes , not only in cryptography .