---
title: digest.hash_sha224
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/functions/cryptographic/digest-hash-sha224
---

```
STRING digest.hash_sha224(STRING s)
```

**Available in:** all subroutines

Returns a SHA-224 cryptographic hash for the string `s`.

## Example

```vcl
declare local var.hash_sha224 STRING;
set var.hash_sha224 = digest.hash_sha224("123456789");
# var.hash_sha224 is now "9b3e61bf29f17c75572fae2e86e17809a4513d07c8a18152acf34521"
```
