Encrypt data in byte array
public static byte[] Encrypt( byte[] input, byte[] key, byte[] iv, CipherAlgorithm cipherAlg, Mode mode )
Public Shared Function Encrypt ( _ input As Byte(), _ key As Byte(), _ iv As Byte(), _ cipherAlg As CipherAlgorithm, _ mode As Mode _ ) As Byte()
Ciphertext 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