# sha256

Convert text to SHA-256 hexadecimal digest.

```js
sha256(text)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `text` | string | Input text; Base64 text for base64Decode. |

## Returns

SHA-256 hexadecimal digest string, or null if conversion fails.

## Example

```js
console.log(sha256("Hello"));
```

[All JavaScript APIs](https://mcp.applesauceos.com/doc/api.md) · [Automation playbook](https://mcp.applesauceos.com/doc/ai.md)
