Hi
This is the perl script that can decrypt the information in a file:
Quote-------------------------------------------------------------------------
use Crypt::Rijndael_PP ':all';
#AES
$key = '00010203050607080A0B0C0D0F10111214151617191A1B1C1E1F202123242526'; # 256bit hex number
$p_txt = rijndael_decrypt($key, MODE_CBC, $c_txt, 256, 128);
unquote---------------------------------------------------------
We want to decrypt the information via classes in C#. I have the following options:
rm is the variablename used for RijndaelManaged class. This is a class in the .NET framework.
rm.Padding = PaddingMode.Zeros;
rm.Mode = CipherMode.CBC;
rm.BlockSize = 128;
rm.KeySize = 256;
rm.Key = HexEncoding.HexStringToByteArray("00010203050607080A0B0C0D0F10111214151617191A1B1C1E1F202123242526");
I have no value for the rm.IV variable. Which should be the initialization vector. The sending party
says that no such value has been set while encrypting.
What else could I look at to enable the decryption in c#...?
Where can I start looking to find any info regarding this?
Thanks for your info
regards Rolf
Compete Automatisering BV