@ondemos/core
Version:
A cryptographic commitment scheme with implied order of ownership wasm module for nodejs and the browser.
15 lines • 645 B
TypeScript
/**
* Generates a sequence of words chosen from a prespecified wordlist
* that represents a random seed that
* can be translated later into a cryptographic keypair.
* With a strength of 128 bits of entropy you get 12 words.
* In every additional step you get 3 more words. The maximum is
* set to 512 bits of entropy, or 48 words!
*
* @param strength - Entropy bits
* @returns The mnemonic from the wordlist.
*
*/
declare const generateMnemonic: (strength?: 128 | 160 | 192 | 224 | 256 | 288 | 320 | 352 | 384 | 416 | 448 | 480 | 512) => Promise<string>;
export default generateMnemonic;
//# sourceMappingURL=generateMnemonic.d.ts.map