diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ #include <fstream> #include <sstream> #include <stdexcept> +#include <algorithm> #include <cstdlib> #include <cctype> #include <ctime> @@ -133,7 +134,7 @@ void testisqrt(int argc,char **argv){ void performrsa(){ RSA::PrivateKey privkey; Bigint p(1000000007),q(3000000019U); - privkey.pub.mod=3000000040000000133LL; + privkey.pub.mod=(int64_t)3000000040000000133LL; privkey.pub.exp=65537; { Bigint x; |