Hashing is the process of transforming a string into a fixed-length value or key that represents the original string. A string of data will always produce the same hash, so it is used as a means of verifying the contents of the string against the expected content. There are many different hashing algorithms.