2021-08-06 15:13:51 +00:00
|
|
|
/**
|
2022-01-17 11:30:59 +00:00
|
|
|
* Returns a cryptographically secure random integer between [min,max].
|
2021-08-06 15:13:51 +00:00
|
|
|
* @param max Returned value will be <= max
|
|
|
|
* @param min Returned value will be >= min
|
|
|
|
*
|
|
|
|
* @throws {RangeError}
|
2022-01-17 11:30:59 +00:00
|
|
|
* Arguments MUST be: max > min
|
2021-08-06 15:13:51 +00:00
|
|
|
*
|
|
|
|
* @returns A cryptographically secure random bigint between [min,max]
|
|
|
|
*/
|
|
|
|
export declare function randBetween(max: bigint, min?: bigint): bigint;
|
|
|
|
//# sourceMappingURL=randBetween.d.ts.map
|