Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The following is from the <a href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.aescryptoserviceprovider.aspx" rel="nofollow noreferrer">AesCryptoServiceProvider</a> MSDN page.</p> <blockquote> <p>Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2</p> <p>The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.</p> </blockquote> <p>The thing is though, I don't really see a reason as to why it wouldn't be supported. .NET 3.5 is commonly installed on Windows XP now, but there may be something about the CLR before XP SP3 that may be different and prevent this from working properly. There's really not enough information on the MSDN page to speculate even; though.</p> <p>As for your question, the differences (again from MSDN) between the classes are as follows:</p> <p><strong>AesManaged</strong></p> <blockquote> <p>Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric algorithm.</p> <p>The AES algorithm is essentially the Rijndael symmetric algorithm with a fixed block size and iteration count. This class functions the same way as the RijndaelManaged class but limits blocks to 128 bits and does not allow feedback modes.</p> </blockquote> <p><strong>AesCryptoServiceProvider</strong></p> <blockquote> <p>Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.</p> </blockquote> <p><strong>Aes</strong></p> <blockquote> <p>Represents the abstract base class from which all implementations of the Advanced Encryption Standard (AES) must inherit.</p> </blockquote> <p>I have always stuck with the *CryptoServiceProvider implementations as they have always provided me with what I desire. The only thing I suggest is if you want to see if the different classes perform differently is to write some test cases and unit tests, and actually see it in action.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload