# Function: openFrom()

```ts
function openFrom(
   recipient, 
   label, 
   bound, 
   sealed
): Promise<Uint8Array<ArrayBufferLike> | null>;
```

Defined in: [packages/core/src/identity/hpke.ts:227](https://github.com/leifriksheim/minca/blob/main/core/src/identity/hpke.ts#L227)

Opens what `sealTo` sealed.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `recipient` | \{ `privateKey`: `CryptoKey`; `publicKey`: `string`; \} | The key pair it was sealed to (`contactKeyPair`) |
| `recipient.privateKey` | `CryptoKey` | - |
| `recipient.publicKey` | `string` | - |
| `label` | `string` | - |
| `bound` | [`Bound`](https://minca.dev/api/core/type-aliases/Bound.md) | - |
| `sealed` | `unknown` | - |

## Returns

`Promise`\<`Uint8Array`\<`ArrayBufferLike`\> \| `null`\>

The plaintext, or null for an unknown version, too few bytes, the
  wrong key, label or bound, or anything changed
