in reply to Re: Encrypting a Message in C# with Rijndael and Decrypting it on Perl
in thread Encrypting a Message in C# with Rijndael and Decrypting it on Perl

That shouldn't be the problem because if you do the encrypt with the perl function it work whith the decrypt code.
  • Comment on Re^2: Encrypting a Message in C# with Rijndael and Decrypting it on Perl

Replies are listed 'Best First'.
Re^3: Encrypting a Message in C# with Rijndael and Decrypting it on Perl
by zwon (Abbot) on Jul 10, 2009 at 20:19 UTC

    Have a look onto Crypt::CBC source, particularly onto _generate_iv_and_cipher_from_datastream and _salted_key_and_iv functions. Crypt::CBC doesn't read IV from encrypted data, it computes IV from the salt and passphrase. Note, that C# implementation may use another algorithm to compute encryption key from the salt and passphrase.