04 / DIGEST

SHA Hash Generator

SHA-1, SHA-256, SHA-384 and SHA-512 over text or a local file, computed with the browser's native WebCrypto implementation. The file is read locally — it is never uploaded.

Source

SHA-1

SHA-256

SHA-384

SHA-512

Choosing an algorithm

Use SHA-256 as the default: it is fast, universally supported and collision-resistant. SHA-384 and SHA-512 trade a longer digest for a larger security margin. SHA-1 is included only for verifying legacy checksums — it is cryptographically broken and must not protect anything new.

Hashing runs through crypto.subtle.digest, so even multi-hundred-megabyte files are processed at native speed on your own machine. Handy for verifying download integrity against a published checksum.