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?

Thanks

        RijndaelManaged rijndaelCipher = new RijndaelManaged();
        rijndaelCipher.Mode = CipherMode.CBC;
        rijndaelCipher.Padding = PaddingMode.PKCS7;
        rijndaelCipher.KeySize = 128;
        rijndaelCipher.BlockSize = 128;

Answers


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


Need Your Help

Changing background position and menu bar translucence

objective-c osx cocoa

How can I change the desktop background position (one of "Fill Screen", "Fit to Screen", "Stretch to Fill Screen", "Center" or "Tile") and the menu bar translucence (on or off) from code?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.