Mentalis.org Security Library documentation

Cryptography

Rijndael information

The RijndaelCryptoServiceProvider class is our implementation of the unmanaged AES CSP that ships with Windows Server 2003 and higher.

In order to use the unmanaged Rijndael implementation, certain requirements must be met. If these requirements are not met, the RijndaelCryptoServiceProvider class automatically reverts to the RijndaelManaged class.

These are the requirements that must be met in order to use the unmanaged Rijndael implementation:

Although not many Windows versions support the AES CSP, the advantages of using the unmanaged implementation are significant. The RijndaelCryptoServiceProvider regularly outperforms the RijndaelManaged class with encryption and decryption speeds that are up to 7x faster.