ApiCoreFunctions
Function: unwrapSeedWithPassphrase()
function unwrapSeedWithPassphrase(
wrap,
passphrase,
did
): Promise<Uint8Array<ArrayBufferLike>>;Defined in: packages/core/src/identity/account-vault.ts:135
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 | - |
passphrase | string | - |
did | string | The vault's DID: the seed inside must derive it |
Returns
Promise<Uint8Array<ArrayBufferLike>>