primegen library

Extensions

BigIntBit on BigInt
BigIntPrime on BigInt

Functions

randomBigInt(int bits, {BigInt? max, Random? random}) → BigInt
randomPrimeBigInt(int bits, {Random? random}) → BigInt
used to generate random prime integer to generate ZotPublicKey and ZotPrivateKey