---
url: /process-functions/security-sha1hmac.md
description: Generate a SHA1 HMAC hash.
---

# security.sha1hmac

Generate a SHA1 HMAC hash.

```js
security.sha1hmac(secret, value)
```

## Parameters

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

## Returns

## Examples

```js
const hash = security.sha1hmac("mySecret", "Hello"); // "YuM0lx19wbPh15dGIJ0q/9EG7RI="
```
