The performance concern of AES (RijndaelManaged) in .NET
I intend to encrypt large data (around 3-5 MB) with RijndaelManaged. Is there any performance issue\suggestion on doing so?
RijndaelManaged rijndaelCipher = new RijndaelManaged(); rijndaelCipher.Mode = CipherMode.CBC; rijndaelCipher.Padding = PaddingMode.PKCS7; rijndaelCipher.KeySize = 128; rijndaelCipher.BlockSize = 128;
No I can safely say there will not be any performance issues. Here's what I timed (And this includes some disk access:
00:00:00.26 seconds for 2MB
Like I said faster than you can blink: see wiki