> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revoengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# util.hmacAsync()

> Public low-code contract, signatures and examples for util.hmacAsync.

## `util.hmacAsync()`

Asynchronous HMAC of up to 32 MiB. Defaults to SHA-256/hex. Optional UTF-8 prefix and suffix are limited to 4096 bytes each.

### Signature

```ts theme={null}
static hmacAsync(payload: Uint8Array | string, secret: Uint8Array | string, algorithm?: 'sha1' | 'sha256' | 'sha512', encoding?: 'hex' | 'base64' | 'base64url', prefix?: string, suffix?: string): Promise<string>;
```

See [all util methods](https://docs.revoengine.com/low-code/reference/util.md) or [runtime basics](https://docs.revoengine.com/low-code/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.