---
url: /process-functions/security-sha256.md
description: Generate a SHA256 hash from a string.
---

# security.sha256

Generate a SHA256 hash from a string.

```js
security.sha256(value)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `value` | `string` | Value to hash. |

## Returns

## Examples

```js
const hash = security.sha256("Hello"); // "185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969"
```
