# Function: unwrapSeedWithPassphrase()

```ts
function unwrapSeedWithPassphrase(
   wrap, 
   passphrase, 
   did
): Promise<Uint8Array<ArrayBufferLike>>;
```

Defined in: [packages/core/src/identity/account-vault.ts:135](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L135)

Opens a passphrase wrap. Its salt and rounds are bound into the envelope, so
an edited wrap does not open; too few or too many rounds are refused before any run.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `wrap` | [`PassphraseWrap`](https://minca.dev/api/core/interfaces/PassphraseWrap.md) | - |
| `passphrase` | `string` | - |
| `did` | `string` | The vault's DID: the seed inside must derive it |

## Returns

`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
