From 0299b2e0bb58454d79e3914d4441056df68f1ed6 Mon Sep 17 00:00:00 2001 From: Nanak Nihal Singh Khalsa Date: Fri, 3 Feb 2023 16:49:59 -0500 Subject: [PATCH] removed another println --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f36be71..7f9c70e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -430,7 +430,6 @@ impl PrivateKey { // encrypts msg to public key to_pubkey, using some random scalar nonce pub fn encrypt_elgamal(to_pubkey: &Point, nonce: &BigInt, msg: &Point) -> ElGamalEncryption { let shared_secret = to_pubkey.mul_scalar(&nonce); - println!("Shared Secret 2 {:?}", shared_secret); let public_nonce = B8.mul_scalar(&nonce); // let msg_point = point_for_msg(msg); let msg_plus_secret = msg.projective().add(