the BIP39 mnemonic phrase
Optional
crypto?: { Derive a key using PBKDF2 and the HMAC SHA512 function as specified in RFC 2898.
Note, if the provided parameters
are valid, this method will never error.
the PBKDF2 parameters to use
the SHA512 HMAC implementation to use (defaults to the internal WASM implementation)
Optional
passphrase?: stringGenerated using TypeDoc
Derive a seed from the provided BIP39 mnemonic phrase.
Note that by design, BIP39 seed derivation is one-way: seeds derived from a mnemonic phrase cannot be used to recover the source phrase. Additionally, BIP39 seed derivation does not perform any validation on the provided mnemonic phrase, allowing derivation from any string.
For use cases in which a particular mnemonic phrase is expected to be correctly formed (with a valid checksum), first verify that it can be decoded with decodeBip39Mnemonic.