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