🔐 encrypt.tools
SHA-2 · 256/384/512

SHA-1, SHA-256, SHA-384 & SHA-512 Hash Generator

Every SHA digest of your text, computed live.

Free · no sign-up · runs locally·

FIELD NOTES

About this tool

The SHA-2 family (SHA-256, SHA-384, SHA-512) is the workhorse of modern integrity checking — TLS certificates, code signing, blockchain, password storage pipelines. This tool computes all digests simultaneously as you type, using the browser's native Web Crypto implementation.

SHA-1 is included for compatibility and legacy verification only: practical collision attacks have existed since 2017, so never use it for signatures or new designs.

Like everything on encrypt.tools, this runs entirely in your browser — nothing you enter is transmitted or stored.

COMMAND LINE

Do the same in a terminal

Reproduce or cross-check this tool with standard command-line utilities. For deterministic operations like hashing and encoding, the output matches exactly.

$ printf 'hello' | sha256sum
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824  -

$ printf 'hello' | shasum -a 512    # macOS; or sha512sum on Linux
Get-FileHash .\file.txt -Algorithm SHA256
FREQUENTLY ASKED

Frequently asked questions about SHA Hash Generator

Which SHA algorithm should I use?+

SHA-256 is the standard choice for integrity and signatures. Use SHA-384 or SHA-512 for higher security margins. Avoid SHA-1 for anything security-sensitive — it has practical collision attacks.

Why is SHA-1 shown if it's broken?+

For verifying legacy checksums and understanding older systems. SHA-1 collisions have been demonstrated since 2017, so never use it for new signatures or security.

Are these hashes computed locally?+

Yes — all digests are computed in your browser with the Web Crypto API. Nothing you type is uploaded.

LEARN MORE
RELATED INSTRUMENTS