Hash Function

Generate a hash value (message digest) and return a string containing the calculated message digest.