[Mono-list] Encryption compatibility between Mono and .NET

Sebastien Pouliot sebastien.pouliot at gmail.com
Fri Nov 19 08:47:18 EST 2010


On Fri, 2010-11-19 at 05:40 -0800, brn wrote:
> Hi,
> 
> i've got some troubles with encryption/decryption between Mono and .NET.
> I have a client application which encrypts data with RijndaelManaged and a
> server which decrypts this data. If I run both apps on Windows/.Net,
> everything runs fine, but if I run the server on Linux/Mono, the data is not
> decrypted correctly. I've not any exception but the decrypted data is
> different from the original data.
> 
> Is it a known compatibility issue or should I report it as a bug?

Please fill a bug report and include the source code to duplicate this
(the smaller is better).

Note that most of the time things like this occurs because of some
string transformations wrt different encodings and the use of new lines
(which differs by platform).

Sebastien





More information about the Mono-list mailing list