SHA-224 Hash Generator — Compute SHA-224 Hashes
A 56-character SHA-2 hash for constrained systems — truncated from SHA-256 where a smaller output is enough.
Hash chaining feeds each digest back in as the next input: H(H(…H(input))). Bitcoin uses double SHA-256 (2). This is not a password KDF — use PBKDF2, bcrypt, or scrypt for passwords.
What is SHA-224 Hash?
SHA-224 produces a 56-character hash by truncating SHA-256 to 224 bits — a good fit for constrained devices and legacy protocols that need a smaller output from the trusted SHA-2 family.
Zero-Server Tool Data Guarantee
All hashing happens locally in your browser. Your input is never sent to any server.
How to Use
Enter Your Text
Type or paste the text you want to hash into the input area.
View the Hash
The SHA-224 hash is computed instantly as you type. It is displayed as a 56-character hex string.
Verify a Checksum
Switch to the Verify tab and paste a published checksum — sha224sum-style output works too — to confirm it matches the hash of your input.
Copy the Result
Use the copy button to save the hash to your clipboard.
Common Use Cases
Certificate Chains
SHA-224 is used in X.509 certificate chains and legacy TLS configurations for lightweight signature verification.
Legacy Protocol Compatibility
Maintain interoperability with older cryptographic systems that specify SHA-224 in their protocols.
Backward Compatibility
Verify digests created by older systems that selected SHA-224 before SHA-256 became the default.
Lightweight Checksums
Use SHA-224 when 224-bit output is sufficient and you want a smaller hash than SHA-256 for bandwidth or storage savings.
Implementation Examples
async function sha224(message) {const msgBuffer = new TextEncoder().encode(message);const hashBuffer = await crypto.subtle.digest('SHA-224', msgBuffer);const hashArray = Array.from(new Uint8Array(hashBuffer));return hashArray.map(b => b.toString(16).padStart(2, '0')).join('');}const hash = await sha224('hello world');// "ea09ae889d5b7864a899db723534320c3d48168f8db8c02f71d5e845"
SHA-224 vs SHA-256 vs SHA-384
| Property | SHA-224 | SHA-256 | SHA-384 |
|---|---|---|---|
| Output size | 224-bit (56 hex) | 256-bit (64 hex) | 384-bit (96 hex) |
| Security level | 112-bit (unbroken) | 128-bit (unbroken) | 192-bit (unbroken) |
| Use case | Legacy compatibility | General purpose | High-security applications |
| Use for passwords? | No (too fast) | No (too fast) | No (too fast) |
| Current recommendation | Compatibility only | Recommended | Recommended |
| NIST approved? | Yes | Yes | Yes |
Which SHA-2 Size?
| SHA-2 size | Output | Collision resistance | Best for |
|---|---|---|---|
| SHA-224You're here | 56 hex | 112-bit | Legacy compatibility, compact checksums on constrained systems |
| SHA-256 | 64 hex | 128-bit | General purpose — file integrity, TLS, signatures, blockchain |
| SHA-512 | 128 hex | 256-bit | Maximum security margin, high-assurance certificates |
| SHA-512/256 | 64 hex | 128-bit | SHA-256's size with SHA-512's speed — length-extension resistant |
All SHA-2 sizes use the Merkle-Damgård construction from NIST FIPS 180-4. SHA-224 truncates SHA-256's output, and SHA-512/256 truncates SHA-512's — which is what gives it length-extension resistance.
Production Best Practices & Security
Frequently Asked Questions
SHA-224 appears in three main contexts:
- Legacy TLS 1.2 cipher suites — a small number of older suites use SHA-224 for handshake message authentication
- Constrained PKI and smart-card systems — some legacy certificate and smart-card ecosystems still specify a 224-bit digest
- Government and financial protocols (smart card standards, ICAO machine-readable travel documents) where a 224-bit output is mandated
For new projects, prefer SHA-256 (128-bit collision security) or SHA3-256 (post-quantum readiness). SHA-224 is primarily useful for backward compatibility.