11 lines
402 B
TypeScript
11 lines
402 B
TypeScript
/**
|
|
* Returns a cryptographically secure random integer between [min,max].
|
|
* @param max Returned value will be <= max
|
|
* @param min Returned value will be >= min
|
|
*
|
|
* @throws {@link RangeError} if max <= min
|
|
*
|
|
* @returns A cryptographically secure random bigint between [min,max]
|
|
*/
|
|
export declare function randBetween(max: bigint, min?: bigint): bigint;
|
|
//# sourceMappingURL=randBetween.d.ts.map
|