Пример #1
0
 public static string EncryptAES(string Key, string PlainData)
 {
     return(EncryptionService.EncryptWithAES(EncryptionService.GetHashKey(Key), PlainData));
 }
Пример #2
0
 public static string DecryptAES(string Key, string CryptoText)
 {
     return(EncryptionService.DecryptWithAES(EncryptionService.GetHashKey(Key), CryptoText));
 }