sha224 hash generator online
Create the sha224 hash of any text: 56 hex characters, the same result as PHP's hash(). Check a hash or a file below. Nothing leaves your browser.
Compare, hash a file, copy any format
Type text in the tool above or choose a file. Case, spaces and prefixes like sha224: don't matter.
hello world- Hex
2f05477fc24bb4faefd86517156dafdecec45b8ad3cf2522a563582b- HEX (upper case)
2F05477FC24BB4FAEFD86517156DAFDECEC45B8AD3CF2522A563582B- Base64
LwVHf8JLtPrv2GUXFW2v3s7EW4rTzyUipWNYKw==
Files are read in your browser and never uploaded.
What is SHA-224?
SHA-224 is SHA-256 with different start values, cut to 224 bits (56 hex characters). It exists for systems that need a 112-bit security level and a shorter hash. In practice SHA-256 is used far more often.
Change one letter, see what happens
A cryptographic hash changes about half of all bits when one input character changes. Nothing about the old hash tells you what the new one will be.
……Calculating…
The same result in your code
Every snippet prints 2f05477fc24bb4faefd86517156dafdecec45b8ad3cf2522a563582b for hello world, the same as the tool. They are run against PHP's hash() before each release.
echo hash('sha224', 'hello world');
import hashlib print(hashlib.sha224("hello world".encode()).hexdigest())
import { createHash } from "node:crypto"; console.log(createHash("sha224").update("hello world").digest("hex"));
import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.util.HexFormat; public class Hash { public static void main(String[] args) throws Exception { byte[] digest = MessageDigest.getInstance("SHA-224") .digest("hello world".getBytes(StandardCharsets.UTF_8)); System.out.println(HexFormat.of().formatHex(digest)); // Java 17+ } }
package main import ( "fmt" "crypto/sha256" ) func main() { fmt.Printf("%x\n", sha256.Sum224([]byte("hello world"))) }
printf '%s' 'hello world' | sha224sum # macOS: printf '%s' 'hello world' | shasum -a 224 # File on Windows: certutil -hashfile file.zip SHA224
SHA-224 test values
Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.
| Input | sha224 |
|---|---|
| empty string | d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f |
abc | 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 |
hello world | 2f05477fc24bb4faefd86517156dafdecec45b8ad3cf2522a563582b |
The quick brown fox jumps over the lazy dog | 730e109bd7a8a32b1cb9d9a09aa2325d2430587ddbc0c38bad911525 |
Why your SHA-224 doesn't match
It uses different start values. The first 56 characters of SHA-256 are not a SHA-224 hash.
A fast hash lets attackers try billions of guesses per second. Store passwords with Argon2id, bcrypt or scrypt, which are slow on purpose and use a salt.
echo "hello world" | sha256sum hashes 12 bytes: the text plus a line break. Use printf '%s' 'hello world' or echo -n to hash exactly 11 bytes.
The tool hashes UTF-8 bytes, like most languages. Windows APIs and .NET's Encoding.Unicode use UTF-16, older systems Latin-1. "ü" is 2 bytes in UTF-8, 1 in Latin-1, 2 in UTF-16, and each gives a different hash.
Hex is not case-sensitive: 5EB63BBB… and 5eb63bbb… are the same hash. Compare in one case, and watch for spaces or a prefix like "sha256:".
Like the form on the original site, the tool removes spaces and line breaks at the start and end and sends line breaks as CRLF (\r\n). For exact bytes use "Hash a file" or "Exactly as typed" in the check panel.
The SHA-2 family side by side
The same text, every SHA-2 algorithm. Shown for hello world; type in the tool above to use your text.
| Algorithm | Hash | Bits |
|---|---|---|
| sha224 | 2f05477fc24bb4faefd86517156dafdecec45b8ad3cf2522a563582b | 224 |
| sha256 | b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 | 256 |
| sha384 | fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd | 384 |
| sha512/224 | 22e0d52336f64a998085078b05a6e37b26f8120f43bf4db4c43a64ee | 224 |
| sha512/256 | 0ac561fac838104e3f2e4ad107b4bee3e938bf15f2b15f009ccccd61a913f017 | 256 |
| sha512 | 309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f | 512 |
How fast is SHA-224?
Hashes up to 4 MB of random data in your browser and compares with sha256, xxh3. Browser numbers are lower than native code, but the ranking holds.
Questions about SHA-224
Can SHA-224 be decrypted?
No. SHA-224 is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" SHA-224 look the hash up in large tables of known inputs, which only works for short or common strings.
How long is a SHA-224 hash?
A SHA-224 hash is always 224 bits, written as 56 hexadecimal characters (28 bytes), no matter how long the input is.
Is SHA-224 secure?
Yes. No practical attack on SHA-224 is known, and it is approved for integrity checks and signatures. For passwords use a slow password hash instead.
Should I hash passwords with SHA-224?
No. SHA-224 is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.