crypto v0.2.13 (2019-12-12T01:33:54Z)
Dub
Repo
BigIntHelper.randomGenerate
crypto
bigint
BigIntHelper
Random generate a BigInt between min and max.
BigInt
randomGenerate
(
uint
bitLength
,
int
highBit
= -
1
,
int
lowBit
= -
1
)
BigInt
randomGenerate
(
const
BigInt
min
,
const
BigInt
max
)
struct
BigIntHelper
static
BigInt
randomGenerate
(
const
BigInt
min
,
const
BigInt
max
)
Meta
Source
See Implementation
crypto
bigint
BigIntHelper
static functions
fromBytes
isProbablePrime
mul
powmod
randomGenerate
toUBytes
Random generate a BigInt between min and max.