function · Browser and Node

# sealSender

An INTRO's sealed sender: HPKE base mode to R, bound to the packet's `enc`. 81 bytes for a did:key.

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

Import:

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

## Declaration

Signature:

```ts
sealSender(sender: string, recipientX: Uint8Array, enc: Uint8Array): Promise<Uint8Array<ArrayBufferLike>>;
```

### Parameters

- **`sender` (required)**: `string`
- **`recipientX` (required)**: `Uint8Array<ArrayBufferLike>`
- **`enc` (required)**: `Uint8Array<ArrayBufferLike>`

### Returns

`Promise<Uint8Array<ArrayBufferLike>>`

[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/sealSender/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
