nanocurrency
Version:
A toolkit for the Nano cryptocurrency, allowing you to derive keys, generate seeds, hashes, signatures, proofs of work and blocks.
9 lines (8 loc) • 360 B
TypeScript
/** @hidden */
export declare function getRandomBytes(count: number): Promise<Uint8Array>;
/** @hidden */
export declare function byteArrayToHex(byteArray: Uint8Array): string;
/** @hidden */
export declare function hexToByteArray(hex: string): Uint8Array;
/** @hidden */
export declare function compareArrays(array1: Uint8Array, array2: Uint8Array): boolean;