UNPKG

@helium/crypto

Version:

Cryptography utilities including mnemonics, keypairs and base58-check encoding

11 lines 376 B
/// <reference types="node" /> /// <reference types="node" /> export type MnemonicLength = 12 | 24; export default class Mnemonic { words: Array<string>; constructor(words: Array<string>); static create(length?: MnemonicLength): Promise<Mnemonic>; static fromEntropy(entropy: Buffer): Mnemonic; toEntropy(): Buffer; } //# sourceMappingURL=Mnemonic.d.ts.map