di-wings
Version:
Aviary Tech's common library for decentralized identity
10 lines • 671 B
TypeScript
export declare const hexToBytes: (hexString: string) => Uint8Array;
export declare const bytesToHex: (bytes: Uint8Array) => string;
export declare const lpad: (str: string, padString: string, length: number) => string;
export declare const bytesToBinary: (bytes: number[]) => string;
export declare const deriveChecksumBits: (entropy: Uint8Array) => string;
export declare function mnemonicToEntropy(mnemonic: string): string;
export declare const entropyToMnemonic: (input: string | Uint8Array) => string;
export declare const mnemonicToSeed: (mnemonic: string, passphrase?: string) => string;
export declare const words: string[];
//# sourceMappingURL=mnemonic.d.ts.map