Esempio n. 1
0
 public static byte[] EncryptAes(AesKeyData key, byte[] plaintext)
 {
     return(EncryptIge(plaintext, key.Key, key.Iv));
 }
Esempio n. 2
0
 public static byte[] DecryptAes(AesKeyData key, byte[] ciphertext)
 {
     return(DecryptIge(ciphertext, key.Key, key.Iv));
 }