Beispiel #1
0
 public static byte[] EncryptAES(AesKeyData key, byte[] plaintext)
 {
     return(EncryptIGE(plaintext, key.Key, key.Iv));
 }
Beispiel #2
0
 public static byte[] DecryptAES(AesKeyData key, byte[] ciphertext)
 {
     return(DecryptIGE(ciphertext, key.Key, key.Iv));
 }