SHA Hash Generator
Generate SHA-1, SHA-256, SHA-384, and SHA-512 cryptographic hashes from any text input. Supports HMAC signing with a secret key, all-algorithm comparison output, and hash equality checking. Uses the browser's native Web Crypto API — no server involved.
| Algorithm | Output | Security | Common Uses |
|---|---|---|---|
| SHA-1 | 160 bits / 40 hex | Broken | Legacy checksums, Git commits (historical) |
| SHA-256 | 256 bits / 64 hex | Secure | SSL/TLS, Bitcoin, JWT, file integrity |
| SHA-384 | 384 bits / 96 hex | Secure | TLS 1.3, high-security applications |
| SHA-512 | 512 bits / 128 hex | Secure | Password storage, digital signatures |
Frequently Asked Questions
What hash algorithms are supported?
SHA-256, SHA-384, SHA-512, and HMAC variants (HMAC-SHA256, HMAC-SHA384, HMAC-SHA512), all via the browser's native Web Crypto API.
Is MD5 supported?
No. MD5 is cryptographically broken and is not included. Use SHA-256 for all new applications.
What is HMAC used for?
HMAC adds a secret key to the hash, producing a message authentication code. Common uses: webhook signature verification and API request signing.
Is my text sent to a server for hashing?
No. All hashing uses the browser's built-in Web Crypto API running locally. Your data never leaves your browser.