# Function: wrapSeedWithPassphrase()

```ts
function wrapSeedWithPassphrase(
   seed, 
   passphrase, 
   label?
): Promise<PassphraseWrap>;
```

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

Wraps a seed under a passphrase — the portable way back in.

## Parameters

| Parameter | Type | Default value |
| ------ | ------ | ------ |
| `seed` | `Uint8Array` | `undefined` |
| `passphrase` | `string` | `undefined` |
| `label?` | `string` | `'Passphrase'` |

## Returns

`Promise`\<[`PassphraseWrap`](https://minca.dev/api/core/interfaces/PassphraseWrap.md)\>
