5 chars · 1 line
Waiting for input
Loading hash algorithms…
5 chars · 1 line
Waiting for input
Hash algorithm comparison
SHA-1 and SHA-256 are different digest algorithms. The same hello bytes produce a 40-character SHA-1 value and a 64-character SHA-256 value in hexadecimal. This tool is free to use. No account or payment is required.
Last updated
SHA-1 outputs 160 bits; SHA-256 outputs 256 bits. A migration changes the digest algorithm, so existing SHA-1 values cannot simply be compared with new SHA-256 values.
Only the algorithm changes.
helloSHA-1: aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824Common questions
Not into the SHA-256 digest of the original text without the original input. Re-hash the original bytes using SHA-256.
SHA-256 uses 64 hex characters; SHA-1 uses 40.
Debugging a specific Hash issue? Browse Hash troubleshooting.