aboutsummaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-08 13:46:59 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-08 13:52:05 +0200
commit00c059d4554f70fc52d94ff1d5dd28976bf857fb (patch)
tree40d5ddc83133892a87503b370bebf2cb9990ebef /rsa.cpp
parent264fb4b2bb5480a28646a8465013647b2e034cf4 (diff)
Code cleanup
Diffstat (limited to 'rsa.cpp')
-rw-r--r--rsa.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/rsa.cpp b/rsa.cpp
index cfa1fee..77e1350 100644
--- a/rsa.cpp
+++ b/rsa.cpp
@@ -11,8 +11,6 @@ using namespace std;
namespace RSA{
Bigint encrypt(Bigint msg,const PublicKey &pubkey){
- // cerr<<"msg="<<msg<<endl;
- // cerr<<"mod="<<pubkey.mod<<endl;
assert(msg>1&&msg<pubkey.mod);
return expmod(msg,pubkey.exp,pubkey.mod);
}