Optional
strength: numberThe strength of the mnemonic to generate.
Optional
rng: ((size) => Buffer)A custom random number generator function.
Optional
wordlist: string[]A custom wordlist for generating the mnemonic.
An object containing the mnemonic, DID, DID Document, and key pairs.
Generate a DID and DID Document along with mnemonic and key pairs.