Decrypt data in byte array
public static byte[] Decrypt( byte[] input, byte[] key, Mode mode, byte[] iv )
Public Shared Function Decrypt ( _ input As Byte(), _ key As Byte(), _ mode As Mode, _ iv As Byte() _ ) As Byte()
Decrypted data in byte array or empty array on error
For ECB and CBC modes, input data length must be an exact multiple of the block length (16 bytes)
See Example1
VB6/C equivalent: AES256_BytesMode