@onekeyfe/blockchain-libs
Version:
OneKey Blockchain Libs
9 lines (8 loc) • 360 B
TypeScript
/// <reference types="node" />
declare type RevealableSeed = {
entropyWithLangPrefixed: Buffer;
seed: Buffer;
};
declare function mnemonicToRevealableSeed(mnemonic: string, passphrase?: string): RevealableSeed;
declare function revealEntropy(entropyWithLangPrefixed: Buffer): string;
export { RevealableSeed, mnemonicToRevealableSeed, revealEntropy };