Skip to content

Improved GenRandomBits

Compare
Choose a tag to compare
@bazzilic bazzilic released this 06 Dec 16:19
· 25 commits to master since this release
6f56284

Improved GenRandomBits(bits, ...) to ensure that the generated big integer has exactly bits bits. Consequently, now GenPseudoPrime(bits, ...) generates pseudo primes that have exactly bits bits.