public static string Decrypt(this string encryptText) { var rsa = new RSAHelper(); return(rsa.Decrypt(_privateKey, encryptText, false)); }
public static string Encrypt(this string plainText) { var rsa = new RSAHelper(); return(rsa.Encrypt(_publicKey, plainText, false)); }