> From: [email protected] [mailto:mono-list-
> [email protected]] On Behalf Of Drew DeVault
> 
> The
> problem comes
> from using a CryptoStream with a RijndaelManaged cipher. 

This might be unrelated, but your subject says AES, and your message body says 
RijndaelManaged.  AES is based on Rijndael, but AES is not Rijndael.

Most likely you should use AesCryptoServiceProvider or AesManaged instead.  The 
main difference is that AesCryptoServiceProvider takes more time to startup, 
but it's faster once it's started.  So you use AesManaged for small blocks of 
data (a few AES blocks worth) and use AesCryptoServiceProvider for everything 
else.  Also, supposedly AesCryptoServiceProvider isn't necessarily 
cross-platform compatible, but I have yet to find the platform that doesn't 
support it.

The Rijndael classes are mostly provided for historic, legacy, and academic 
purposes nowadays.

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to