Skip to main content

Hash Generator

With the Hash Generator you calculate hash values for your own text. Choose an algorithm, enter some input, and compare how the result differs between MD5, SHA-1 and the algorithms of the SHA-2 family.

Algorithm

What Does the Tool Show?​

Every algorithm produces a hash value of fixed length — regardless of how long the input is. The same input always leads to the same hash value with the same algorithm.

Next, change a single character, for example Hello World to hello World, and observe how much the hash value changes.

MD5 and SHA-1 are included here for comparison. For security-relevant applications, neither is considered collision resistant anymore.

More About Hash Functions​

How hash functions work in general is explained in the article What Is a Hash Function?. How SHA-256 is built internally is shown in What Is SHA-256?.

You can examine exactly how many bits differ for a small change with the Avalanche Effect Visualizer.