Пример #1
0
 public static string AesDecrypt(this string str, string key)
 {
     Security.Aes aes = new Security.Aes();
     return(aes.Decrypt(str, key));
 }
Пример #2
0
 public static string AesEncrypt(this string str)
 {
     Security.Aes aes = new Security.Aes();
     return(aes.Encrypt(str));
 }