A cryptographic hashing algorithm takes a variable-length input and generates a 256-bit hash.