Cryptographic hash function

A cryptographic hash function maps input of any length to a fixed-size digest and must resist preimage, second preimage, and collision attacks.