kobe6258 преди 5 месеца
родител
ревизия
8f098f1b6f
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      common/utils/auth/rsa_utils.go

+ 0 - 4
common/utils/auth/rsa_utils.go

@@ -40,10 +40,6 @@ func DecryptWithRSA(privateKey *rsa.PrivateKey, encrypted string) ([]byte, error
 		}
 		plaintext = append(plaintext, decryptedChunk...)
 	}
-	//hash, err := rsa.DecryptPKCS1v15(rand.Reader, privateKey, encKey)
-	//if err != nil {
-	//	return nil, err
-	//}
 	return plaintext, nil
 }