Hi there,
I'm working on Triple DES encryption with parameters in
JAVA 5:
Key Size : 16 bytes
Key : This is an MD5 hash of the shared key (eg: MD5 hash of omCryptoExchange in this case)
CipherMode : CBC (Cipher Block Chaining)
Padding Mode : PKCS7
How do I create an 8- byte array initialization vector with the following values in it, { 240, 3, 45, 29, 0, 76, 173, 59 } in java.
Equivalent C++ code is
// The Initialization Vector for the DES encryption routine
private readonly byte[] IV = new byte[8] { 240, 3, 45, 29, 0, 76, 173, 59 };