crypto ~master (2020-12-03T08:33:30Z)
Dub
Repo
BigIntHelper.randomGenerate
crypto
bigint
BigIntHelper
Random generate a BigInt by bitLength.
BigInt
randomGenerate
(uint bitLength, int highBit, int lowBit)
struct
BigIntHelper
static
BigInt
randomGenerate
(
uint
bitLength
,
int
highBit
= -1
,
int
lowBit
= -1
)
BigInt
randomGenerate
(BigInt min, BigInt max)
Meta
Source
See Implementation
crypto
bigint
BigIntHelper
aliases
powmod
static functions
fromBytes
isProbablePrime
randomGenerate
toUBytes
Random generate a BigInt by bitLength.