@funded-labs/plug-controller
Version:
Internet Computer Plug wallet's controller
8 lines (7 loc) • 498 B
TypeScript
import CryptoJS from 'crypto-js';
export declare const byteArrayToWordArray: (byteArray: Uint8Array, cryptoAdapter?: typeof CryptoJS) => CryptoJS.lib.WordArray;
export declare const wordToByteArray: (word: any, length: any) => number[];
export declare const wordArrayToByteArray: (wordArray: any, length: any) => any;
export declare const intToHex: (val: number) => string;
export declare const generateChecksum: (hash: Uint8Array) => string;
export declare const lebDecode: (pipe: any) => bigint;