@safik/fk-plug-controller
Version:
Internet Computer Plug wallet's controller
7 lines (6 loc) • 410 B
TypeScript
import CryptoJS from 'crypto-js';
export declare const byteArrayToWordArray: (byteArray: Uint8Array) => 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;