How to generate a hash (MD5, SHA-256)
Short answer
Paste your text into a hash generator and choose an algorithm like SHA-256. It returns a fixed-length fingerprint of the input. The same input always yields the same hash, but you cannot reverse a hash back to the input.
What a hash is
A hash function turns any input into a fixed-length string that acts as a fingerprint. Change one character and the output changes completely. It is one-way: you cannot compute the input from the hash. See what is a hash function.
Generate a hash
- Enter the textType or paste the string you want to hash.
- Pick an algorithmSHA-256 is the safe default; MD5 and SHA-1 are legacy.
- Copy the resultThe hash is a fixed-length hex string, ready to store or compare.
What hashing is used for
- Verifying a file downloaded without corruption (checksums)
- Detecting whether two inputs are identical without storing them
- Indexing and deduplication by content fingerprint
- Building blocks for signatures and message authentication