Browse Source

removed size

0xdcarns 3 years ago
parent
commit
03b05f7d7c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      netclient/ncutils/netclientutils.go

+ 0 - 1
netclient/ncutils/netclientutils.go

@@ -555,7 +555,6 @@ func EncryptWithPublicKey(msg []byte, pub *rsa.PublicKey) ([]byte, error) {
 	if pub == nil {
 		return nil, errors.New("invalid public key when decrypting")
 	}
-	log.Printf("pub key size: %d \n", pub.Size())
 	hash := sha512.New()
 	ciphertext, err := rsa.EncryptOAEP(hash, crand.Reader, pub, msg, nil)
 	if err != nil {