SHA Hash Generator

Generate deterministic SHA-1 and SHA-2 digests from UTF-8 text. The tool intentionally does not label truncated SHA output as MD5 and does not pretend to implement bcrypt or NTLM.

Note: All hashing is done locally in your browser. No data is sent to any server.

Verified behavior and limits

Input and output

Input is encoded as UTF-8. Output is lowercase hexadecimal. Leading, trailing, and repeated whitespace are significant and change the digest.

Security boundary

SHA-1 is retained for legacy comparison but has known collision attacks. General SHA digests are not suitable for storing passwords; use a reviewed password-hashing library with Argon2id, scrypt, or bcrypt.

SHA-256 fixture

abc → ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Primary reference

Algorithm definitions and test material are available from NIST FIPS 180-4.

FAQ

SHA Hash Generator