SHA-224 Hash Generator

Generate the 224-bit SHA-224 hash of any text.

Text
Hash
Runs locally in your browser

About the SHA-224 Hash Generator

SHA-224 is a truncated form of SHA-256 with a different initial value, producing 56 hexadecimal characters. It exists mainly for compatibility with systems that specify a 224-bit digest, such as certain DSA parameter sets, where the shorter length matches the key size.

That different starting constant is the whole point of the design. Were SHA-224 simply the first 56 hex characters of a SHA-256 digest, anyone holding the SHA-256 value would hold the SHA-224 one for free, and the two functions would leak into each other wherever a system used both. Starting from different constants makes them independent functions that merely share a compression step, so sha224("abc") is not a prefix of sha256("abc") and no comparison between them means anything.

You will run into a 224-bit requirement alongside 112-bit symmetric strength targets, in certain DSA and ECDSA parameter sets, and occasionally in constrained protocols counting every byte on the wire. Outside those, reach for SHA-256. It shares SHA-256's security properties and speed, so it is suitable as a checksum but not for password storage. This tool computes it locally from your text's UTF-8 bytes, with hex or Base64 output. If you have been handed a 56-character digest and are not sure what made it, the Hash Identifier narrows the field by length.

How to use

  1. Paste text.
  2. Choose the output format.
  3. Copy the SHA-224 hash.

Common questions

Why use SHA-224 over SHA-256?
Only for compatibility with a system that specifies 224 bits. Otherwise SHA-256 is the more common choice.
Is it as secure as SHA-256?
It shares the same construction; the shorter output slightly reduces the security margin but no practical attack exists.
What length is the hash?
224 bits, or 56 hexadecimal characters.