예제 #1
0
        public static string Decrypt(this string encryptText)
        {
            var rsa = new RSAHelper();

            return(rsa.Decrypt(_privateKey, encryptText, false));
        }
예제 #2
0
        public static string Encrypt(this string plainText)
        {
            var rsa = new RSAHelper();

            return(rsa.Encrypt(_publicKey, plainText, false));
        }