# Function: sealEnvelope()

```ts
function sealEnvelope(
   key, 
   label, 
   bound, 
   plaintext
): Promise<Uint8Array<ArrayBuffer>>;
```

Defined in: [packages/core/src/identity/envelope.ts:44](https://github.com/leifriksheim/minca/blob/main/core/src/identity/envelope.ts#L44)

Seals bytes under an AES-256-GCM key, for one label and one place

## Parameters

| Parameter | Type |
| ------ | ------ |
| `key` | `CryptoKey` |
| `label` | `string` |
| `bound` | [`Bound`](https://minca.dev/api/core/type-aliases/Bound.md) |
| `plaintext` | `Uint8Array` |

## Returns

`Promise`\<`Uint8Array`\<`ArrayBuffer`\>\>
