@radixdlt/radix-engine-toolkit
Version:
A TypeScript wrapper for the Radix Engine Toolkit that provides many of the necessary tools to interact with the Radix ledger
9 lines (8 loc) • 370 B
TypeScript
/**
* Hashes some byte array of data through the Blake 2b algorithm producing 32-byte long hash digests
* which follows the hashing algorithm used in Scrypto and the Radix Engine.
* @param data The data to hash.
* @returns The hash of the data.
*/
export declare const hash: (data: Uint8Array) => Uint8Array;
export declare const generateRandomNonce: () => number;