Most cryptographic hash functions are designed to take a string of any length as input and produce a fixed-length hash value .
A hash function takes a string of any length as input and produces a fixed length string which acts as a kind of `` signature '' for the data provided .