FormatterHQ

SHA-512/224 Hash Generator

Compute SHA-512/224 digests: SHA-512’s 64-bit engine with unique initial values, truncated to 224 bits (56 hex characters).

Loading tool…
Ready.

How to use the SHA-512/224 Hash Generator

  1. Type or paste text into the input box, or switch the source to File and choose a file — it is hashed locally, never uploaded.
  2. Read the main hash at the top — the table below shows the same input under every other common algorithm. Tick Uppercase hex if you need capitals.
  3. To verify a value, paste it into Compare with an expected hash — the tool reports a match, or which algorithm it matches instead. Copy any row with its Copy button.

SHA-512/224 hash generator

SHA-512/224 is one of two truncated SHA-512 variants added to the Secure Hash Standard in FIPS 180-4 (2012). It runs the full SHA-512 algorithm but starts from a distinct set of initial values — generated by a special procedure so they cannot collide with SHA-512’s — and outputs only the first 224 bits. The result is a 56-character hex digest with SHA-512’s internal strength.

Example

Input:

The quick brown fox jumps over the lazy dog

SHA-512/224 hash:

944cd2847fb54558d4775db0485a50003111c8e5daa63fe722c6aa37

It is not the same as SHA-224, which has the same length but is based on SHA-256: SHA-224 of the same input is 730e109bd7a8a32b1cb9d9a09aa2325d2430587ddbc0c38bad911525.

At a glance

PropertyValue
Digest size224 bits (28 bytes, 56 hex characters)
Internal state512 bits; 80 rounds on 64-bit words
Collision resistanceAbout 112 bits
Length extensionResistant (output is truncated)
StandardFIPS 180-4 (2012)

Why choose SHA-512/224?

  • Speed on 64-bit hardware. Without SHA-256 instructions, SHA-512-based hashes often outperform SHA-256 and SHA-224.
  • Length-extension resistance. An attacker cannot extend a message and compute its new hash, because the internal state is not fully exposed.
  • Compact output where 224 bits of digest are enough, for example in identifiers or constrained protocols.

Things to know

Library support is thinner than for SHA-256. Python exposes it as hashlib.new('sha512_224') (when OpenSSL provides it), OpenSSL as openssl dgst -sha512-224, and Go as sha512.Sum512_224. Always write the name with the slash or underscore — “SHA-512/224” — because “SHA-224” refers to a different algorithm. Truncating a normal SHA-512 hash yourself does not give SHA-512/224 either, since the initial values are different.

Naming varies between platforms: Java and OpenSSL write “SHA-512/224” with a slash, Python uses “sha512_224”, and file names often show SHA512_224. All of them denote the same function, whose hex output — 56 characters, like SHA-224’s — should always be labelled to avoid confusion.

Its collision resistance of roughly 112 bits is the same as SHA-224’s and adequate for most purposes, although 128-bit strength (SHA-256 or SHA-512/256) is the more common baseline for new designs.

Compare with SHA-512/256, the more popular sibling. As with all fast hashes, do not use it for password storage. Hashing is done locally in your browser.

Checking files and telling 56-character hashes apart

On macOS and most Linux systems, the Perl-based shasum command supports this variant with shasum -a 512224 file; GNU coreutils has no dedicated sha512_224sum, so use that or openssl dgst -sha512-224 file instead.

A 56-character hex value on its own does not reveal its algorithm: SHA-224, SHA-512/224 and SHA3-224 all produce exactly that length. Paste the value into Compare with an expected hash and the tool reports which of the listed algorithms produced it for your input. That is often quicker than asking the publisher which function they used.

Frequently asked questions

Is SHA-512/224 the same as SHA-224?
No. Both produce 224-bit digests, but SHA-224 is based on SHA-256 and SHA-512/224 on SHA-512, with different initial values. Their outputs differ.
Can I get SHA-512/224 by truncating SHA-512?
No. SHA-512/224 uses its own initial hash values, so truncating a regular SHA-512 digest gives a different result.
Is SHA-512/224 secure?
Yes. It provides about 112 bits of collision resistance and is not vulnerable to length-extension attacks.
Which libraries support it?
OpenSSL 1.1.1 and later, Go’s crypto/sha512, Java 9 and later (as “SHA-512/224”) and Python’s hashlib when built with a suitable OpenSSL.

Last updated September 26, 2026

Related tools

SHA3-224 Hash Generator Generate the SHA3-224 hash of any text or file online. Instant 224-bit digest in hex, computed in your browser. SHA-512/256 Hash Generator Generate the SHA-512/256 hash of any text or file online. Instant 256-bit digest in hex, computed in your browser. SHA-512 Hash Generator Generate the SHA-512 hash of any text or file online. Instant 512-bit digest in hex, computed in your browser. SHAKE-128 Hash Generator Generate SHAKE-128 extendable-output (XOF) hashes of any length from text or files. SHAKE-256 Hash Generator Generate SHAKE-256 extendable-output (XOF) hashes of any length from text or files. SRI Hash Generator Generate Subresource Integrity (SRI) sha384 hashes and ready-to-paste <script> or <link> tags with integrity and crossorigin attributes. SSH Key Generator Generate OpenSSH key pairs (Ed25519, RSA, ECDSA) in id_ed25519 / id_rsa format with fingerprint — created locally, like ssh-keygen. Whirlpool Hash Generator Generate the Whirlpool hash of any text or file online. Instant 512-bit digest in hex, computed in your browser. WordPress Password Hash Checker Check if a password matches a WordPress user_pass hash ($wp$ bcrypt, $P$ phpass or legacy MD5). WordPress Password Hash Generator Create a WordPress password hash for the wp_users table: bcrypt for WordPress 6.8+ or phpass for older versions. SSL Certificate Decoder (X.509) Decode PEM or DER X.509 SSL/TLS certificates: subject, issuer, SANs, validity, key type, extensions and SHA-256 fingerprints. xxHash Generator Generate xxHash XXH32, XXH64, XXH3 and XXH128 hashes with an optional seed.