aboutsummaryrefslogtreecommitdiff
path: root/rsa.cpp
diff options
context:
space:
mode:
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);
}