You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
string publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9t16RqQWUE/J1IyOfoNHc4r/h6RPnXcWTJ4IbhQVUsEqMMm65F0hiytAgozXmVw68yPJywbpblDrx9zl1wdRcdHCoUvmPdr9/oCQtpQyVc7BXZIN6wJlD6MTeMeni+N0toNPxfXjiAawjNHGZZuT8wQpNEMwsVyJ/lonXaVdGZwIDAQAB";
var rsa=RSA.Create();
rsa.ImportPublicKey(RSAKeyType.Pkcs1, publicKey,true);
var asd=rsa.Encrypt(Encoding.UTF8.GetBytes("Hdsmzj9@2@"), RSAEncryptionPadding.OaepSHA256);
var vv=Convert.ToBase64String(asd);
The text was updated successfully, but these errors were encountered:
The following code is incorrect
The text was updated successfully, but these errors were encountered: