@ondemos/core
Version:
A cryptographic commitment scheme with implied order of ownership wasm module for nodejs and the browser.
14 lines • 482 B
TypeScript
import type { LibDemos } from "@libdemos";
/**
* @function
* Returns a cryptographically random number between two positive integers.
*
* @param min: The minimum number.
* @param max: The maximum number.
* @param module: In case we want to cache the WASM loading.
*
* @returns number
*/
declare const randomNumberInRange: (min: number, max: number, module?: LibDemos) => Promise<number>;
export default randomNumberInRange;
//# sourceMappingURL=randomNumberInRange.d.ts.map