Hash generator
MD5, SHA-1, SHA-256, SHA-384 and SHA-512, with optional HMAC. Hashing happens entirely in this page — the text, the file and the key are never sent anywhere, and this tool makes no network requests after it loads.
Input
empty
—
Text is hashed as UTF-8. Line endings count — a file saved with CRLF gives a different digest from the same text with LF.
Options
An empty key is still a valid HMAC key. If you meant to leave it blank, that is what is being hashed.
Digests
plain digest
| Algorithm | Digest | |
|---|---|---|
| Nothing to hash yet. | ||
Check against an expected hash
not checked
Paste the checksum published alongside a download. It is matched against every algorithm above, so you do not need to know which one was used.
MD5 and SHA-1 are broken for security. Both have practical collision attacks,
so neither should be used for signatures, certificates or password storage. They are still
fine for spotting an accidentally corrupted file, which is why they are here. Use SHA-256 or
stronger when the answer has to resist an attacker.
Hashing is not password storage. A plain digest of a password is guessable at
billions of attempts a second. Passwords need a slow, salted function — bcrypt, scrypt or
Argon2 — not any algorithm on this page.