Hash generator
Produces all four SHA digests of whatever you type, computed locally by the browser's cryptography engine. Useful for checksums, fingerprints and verifying that two pieces of text are identical.
How to use the hash generator
- Type or paste the text.
- Read all four digests, which update as you type.
- Copy the one you need.
How it works
A cryptographic hash turns any input into a fixed-length fingerprint. Change a single character and the entire output changes unrecognisably, which is what makes hashes useful for verifying that a file or message has not been altered.
SHA-256 is the sensible default for new work. SHA-1 is included because it is still widely encountered in older systems, but practical collision attacks have been demonstrated against it and it should not be used for anything security-critical.
Common questions
Can a hash be reversed?
Not directly. But short or common inputs can be found by brute force, which is why passwords need a salted, deliberately slow algorithm such as bcrypt or Argon2 rather than a plain SHA hash.
Why is MD5 not offered?
It is cryptographically broken, and the browser's Web Crypto API deliberately does not implement it.