Hash Generator
- MD5Broken
…- SHA-1Broken
…- SHA-384Secure
…- SHA-512Secure
…- SHA3-256Secure
…- SHA3-512Secure
…- Keccak-256Secure
…- CRC-32Checksum
…
›Show avalanche effect
One bit changed → most output bits flip.
- SHA-256("vectobox")
- 1b80cd1495691f628778309bc95b404421f4379213e6a628478deb5debba8d02
- SHA-256("vectobox!"): 58 of 64 characters differ
- 058526f63d4e965c9aafccc7b81e9efece1e52885c89a1f327066a50e8acce06
No recent hashes yet.
MD5, SHA-256 and seven more hashes from one input
Type or paste text and the table shows MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, Keccak-256 and CRC-32 at once, updating as you type. File mode hashes a file with the same nine algorithms; large files are read in 64 KB chunks, so a multi-gigabyte ISO does not have to fit in memory. Results can be shown as lowercase or uppercase hex, hex with a 0x prefix or colon separators, Base64 or URL-safe Base64.
How to verify a file checksum
Open Verify, choose File, select the downloaded file and paste the checksum from the publisher's site. The algorithm is picked from the length of the expected hash: 32 hex characters is MD5, 40 is SHA-1, 96 is SHA-384. A 64-character hash could be SHA-256, SHA3-256 or Keccak-256, and a 128-character one SHA-512 or SHA3-512, so you choose which one. Spaces, colons, a 0x prefix and letter case are ignored, and Base64 checksums are accepted. Download .sha256 saves a line in sha256sum format that sha256sum -c can check.
SHA3-256 vs Keccak-256
Both use the Keccak-f[1600] permutation. When NIST standardised SHA-3 in FIPS 202 (2015) it changed the padding's domain-separation byte from 0x01 to 0x06, so the two give different output for the same input. Ethereum adopted Keccak before that change and still uses it for addresses and function selectors, so Ethereum tooling expects Keccak-256, not SHA3-256.
How to generate an HMAC-SHA256 signature
HMAC (RFC 2104) combines a secret key with a hash: H((K ⊕ opad) ‖ H((K ⊕ ipad) ‖ message)). Only someone with the key can produce or check the result. In HMAC mode enter the message and the key, choose the key encoding and pick HMAC-MD5, HMAC-SHA-1, HMAC-SHA-256, HMAC-SHA-384 or HMAC-SHA-512. GitHub webhooks, Stripe signatures, AWS Signature Version 4 and JWT HS256 all use HMAC-SHA-256.
Hash generator FAQ
Does the tool keep a history of my hashes?
Yes. The Recent list keeps your last 10 hashes, including a copy of text inputs, in this browser's localStorage; clear it with Clear history.
Why does my hash not match the one from another tool?
Usually the input bytes differ. echo "hello" | sha256sum hashes "hello" plus a newline; use echo -n or printf to match this page. The input encoding also matters: "hello" in UTF-8 and in UTF-16 LE are different bytes. If your input is already hex or Base64 data, set Input encoding to Hex bytes or Base64 bytes so it is decoded first. For reference, SHA-256 of "hello" in UTF-8 starts with 2cf24dba and MD5 is 5d41402abc4b2a76b9719d911017c592.
Is MD5 still safe to use?
Not for security. MD5 collisions can be generated in seconds, and SHA-1 has had a public collision since the SHAttered attack in 2017. Both are still fine for detecting accidental corruption or deduplicating files. For signatures, integrity against an attacker or anything new, use SHA-256 or stronger. CRC-32 detects transmission errors only and is not a cryptographic hash.
Can an MD5 hash be decrypted?
No. A hash is a one-way function, not encryption, and many inputs map to the same output. Sites that "decrypt" MD5 look the hash up in tables of precomputed common strings, which is why passwords should be stored with a slow, salted algorithm such as Argon2 or bcrypt rather than plain MD5 or SHA-256. This tool does not compute Argon2 or bcrypt.
How large a file can I hash?
Files up to 4 GB are supported; above 2 GB the page warns that you may hit browser limits. Progress, speed and estimated time remaining are shown while the file is read, and you can cancel at any point.
What does timing-safe comparison mean in Verify?
A plain string comparison stops at the first character that differs, so the time it takes reveals how much of the hash matched. Verify compares every character regardless of where the first difference is. It matters most on servers checking HMAC signatures, and the same check is used here.
Related tools
Related articles
- SHA-3 and Keccak Are Not the Same Hash: A Tour of One Padding Byte
SHA3-256 and Keccak-256 share a permutation but pad with different bytes, 0x06 vs 0x01. That byte is why Ethereum's keccak256 never matches Node's sha3-256.