---
title: "SHA-512/224"
description: "SHA-512 from its own start values cut to 28 bytes. Faster than SHA-224 on 64-bit machines and it has HMAC"
canonical_url: "https://hashes.agntn.dev/algorithms/sha512-224"
---
# SHA-512/224

> SHA-512 from its own start values cut to 28 bytes. Faster than SHA-224 on 64-bit machines and it has HMAC

<algorithm-facts name="sha512-224">



</algorithm-facts>

SHA-512 doing SHA-224's job. FIPS 180-4 added it in 2012, together with [SHA-512/256](https://hashes.agntn.dev/algorithms/sha512-256). The idea is simple. SHA-512 works on 64-bit words, so on a 64-bit CPU it chews through more bytes per round than SHA-256 does.

```ts
create("sha512-224").hash("abc").digest;
// "4634270f707b6a54daae7530460842e20e37ed265ceee9a43e8924aa"
```

Where do the start values come from? NIST hashes the name. It runs SHA-512 with its initial values XORed by `a5a5a5a5…` over the text `SHA-512/224`. A different name gives different values, so no truncation of SHA-512 lands here by accident.

Same 112-bit collision resistance as [SHA-224](https://hashes.agntn.dev/algorithms/sha224), different digest. Pick the one your spec names. Both are honest, neither is popular.


## Sitemap

See the full [sitemap](https://hashes.agntn.dev/sitemap.md) for all pages.
