diff options
Diffstat (limited to 'primes.h')
-rw-r--r-- | primes.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,10 +8,10 @@ extern std::vector<int> smallprimes; void fillsmallprimes(); -//for use in RSA (pass target number of bits of N) +//For use in RSA (pass target number of bits of N) std::pair<Bigint,Bigint> genprimepair(Rng &rng,int nbits); -//finds random in range [low,high]; throws range_error("No primes") if no prime found +//Finds random in range [low,high]; throws range_error("No primes") if no prime found //Will call fillsmallprimes() if not yet done Bigint randprime(Rng &rng,const Bigint &low,const Bigint &high); |