Hash Generator computes digests of the UTF-8 text in its input. Use it to compare exact text representations. This workspace does not read a selected file's raw bytes.
Check a known SHA-256 value
Select SHA-256, enter exactly abc without a newline and choose Hash. The expected hexadecimal digest is:
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Adding a space or changing case must change the digest. Copying text through an editor can also change line endings or Unicode normalization. A digest match only compares the bytes that were actually hashed.
Use a trustworthy reference
Comparing against a checksum supplied by the same compromised download source does not independently establish authenticity. Obtain the expected value through a trusted channel or verify a publisher signature when provided. For a downloaded file, use a file-checksum workflow instead of pasting what a text editor happens to display.
Hashing has limits
The current selector includes MD5 and SHA algorithms for compatibility. Do not choose MD5 as a modern security integrity mechanism. A plain text digest is not a password-storage scheme: passwords need a purpose-built, salted password hashing process on the verifying system.
The browser's SHA interface is documented in Web Crypto digest. It requires a supported secure browser context. A matching text hash does not establish that a document is harmless, signed or confidential.