aboutsummaryrefslogtreecommitdiff
path: root/primes.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-10 22:52:38 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-10 22:52:38 +0200
commit5c19ba3ba7d07d1619e607b65b698e4eb65f6e0c (patch)
treeb32e9a43cf48dee52d23f0c9219bfa29299fded6 /primes.h
parentc33f462475a30ad560d0153a006796f47563d760 (diff)
Improve comments
Diffstat (limited to 'primes.h')
-rw-r--r--primes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/primes.h b/primes.h
index 0be8aa7..25d0226 100644
--- a/primes.h
+++ b/primes.h
@@ -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);