Compute a SHA-224 digest

Compute a 224-bit SHA-2 digest for compatibility.

freeworks offlinenothing uploaded
ToolSHA-224 Hash
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

SHA-224 uses the SHA-256 compression function with distinct initial values and truncates the final state to 224 bits after 512-bit block processing. Its initialization separates it from a simple shortened SHA-256 display.

  • The shorter SHA-2 digest fits protocols that need less output.

Worked example

Hash of "abc"
The FIPS 180-4 test vector for SHA-224
Input
											abc
										
Output
												Hash hex: 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7
											

When to use this

Legacy protocols, compliance tests, and digest-width migrations use SHA-224.

Edge cases

  • Truncating SHA-256 does not reproduce SHA-224.
  • Different text encoding changes the message bytes.
  • A digest alone does not authenticate a file against replacement.

References