SHA-224 Hash Generator

Generate a SHA-224 hash of text or files in your browser — the 224-bit member of SHA-2, verified against NIST vectors.

Digest

What It Does

This tool generates the SHA-224 digest of your input: 224 bits, 56 hexadecimal characters. SHA-224 is SHA-256 run from different starting values with the last 32 bits dropped. Browsers do not ship it in WebCrypto, so it is implemented here directly and tested against the NIST vectors and OpenSSL. It exists mainly to match the 112-bit security level of two-key Triple-DES and some older key-agreement profiles.

When to Use It

  • A protocol or hardware module specifies SHA-224 and you need to produce or verify a value.
  • You are writing a SHA-224 implementation and want known-good outputs to test against.
  • You need a SHA-2 digest shorter than SHA-256 for a fixed-width field.
  • You want to see that SHA-224 is not simply a prefix of SHA-256.

Worked Examples

abc

Gives 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 — the NIST vector. Compare with SHA-256("abc"), which begins ba7816bf: the two share no prefix.

Empty input: d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f.

abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq

The two-block NIST vector. It is 56 bytes, so padding pushes it into a second block — the case hand-written implementations most often get wrong.

Features

SHA-224 digest as you type
Hash files as raw bytes without uploading
Hex / HEX / Base64 output
Hash each line separately
Checksum comparison that recognises the wrong algorithm
Warnings for line endings
BOMs and passwords

How to Use

1. Type or paste text, or choose Hash a file to hash a file's raw bytes. 2. Pick the output encoding the value will be compared against — hex is the usual one. 3. To check a published checksum, paste it into the comparison box; the tool tells you whether it matches and, if not, whether it is even the same algorithm.

Common Mistakes

  • Hashing text that is not byte-for-byte what the other side hashed. A trailing newline, Windows line endings or a byte-order mark each produce a completely different SHA-224 value, and none of them are visible.
  • Comparing a hex digest with a Base64 one. They encode the same bytes differently, so they never look alike even when they match — switch the output format before deciding two values disagree.
  • Comparing digests in mixed case and concluding they differ. Hex is case-insensitive; ABCDEF and abcdef are the same value.
  • Using a plain SHA-224 digest where a secret is involved. To prove a message came from someone holding a key, you need HMAC, not hash(secret + message).

Frequently Asked Questions

Everything runs in your browser. Text and files are hashed locally — nothing is uploaded, logged or stored.

Explore related topics

#Hash #Checksum