Tested tool guide
Tested browser tools
Checked August 16, 2026
What SHA-1 Hash Generator does, with a checked example
Paste text or drop a file, and this tool returns the SHA-1 digest: a fixed 40-character hexadecimal string that fingerprints those exact bytes. Everything runs locally through the browser's WebCrypto API, so the content never leaves the machine. The surprise for most users is that SHA-1 is cryptographically broken: since 2017 an attacker can craft two different files with the same hash, so it is fine for casual checksums and deduplication but not for protecting anything against tampering. The result is always 40 hex characters, and any change, even a trailing space, scrambles it completely.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
a9993e364706816aba3e25717850c26c9cd0d89d
SHA-1 of the three bytes 'abc' is the canonical test vector published in RFC 3174 and FIPS 180-1. Any conforming implementation must produce exactly this 40-character digest, so it also works as a self-check that the tool is wired up correctly.