public static byte[] DecryptAES(AESKeyData key, byte[] ciphertext) { return(DecryptIGE(ciphertext, key.Key, key.Iv)); }
public static byte[] EncryptAES(AESKeyData key, byte[] plaintext) { return(EncryptIGE(plaintext, key.Key, key.Iv)); }