function · Browser and Node

# ackMac

An ACK's MAC, under k(R→S).

`@toip-tools/mesh-transport` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mesh-transport/src/keys.ts#L43)

Import:

```ts
import { ackMac } from "@toip-tools/mesh-transport";
```

## Declaration

Signature:

```ts
ackMac(k: Uint8Array, pid: Uint8Array, bitmap: Uint8Array): Uint8Array<ArrayBuffer>;
```

### Parameters

- **`k` (required)**: `Uint8Array<ArrayBufferLike>`
- **`pid` (required)**: `Uint8Array<ArrayBufferLike>`
- **`bitmap` (required)**: `Uint8Array<ArrayBufferLike>`

### Returns

`Uint8Array<ArrayBuffer>`

[Usage guide](https://toip.tools/toolkit/mesh-transport/#usage) · [Error handling](https://toip.tools/toolkit/mesh-transport/#errors) · [All exports](https://toip.tools/toolkit/mesh-transport/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mesh-transport/api/ackMac/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
