SymmetricAlgorithm.Create Method (String)
.NET Framework 4
Updated: March 2011
Creates an instance of the specified implementation of a symmetric algorithm.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- algName
- Type: System.String
The symmetric algorithm implementation to use. The following table shows the valid values of the algName parameter and the algorithms they map to.Parameter value
Implements
DES
System.Security.Cryptography.DES
3DES
TripleDES
Triple DES
System.Security.Cryptography.TripleDES
RC2
System.Security.Cryptography.RC2
Rijndael
System.Security.Cryptography.Rijndael
System.Security.Cryptography.SymmetricAlgorithm
AES
AesCryptoServiceProvider
System.Security.Cryptography.AesCryptoServiceProvider
AesManaged
System.Security.Cryptography.AesManaged
Return Value
Type: System.Security.Cryptography.SymmetricAlgorithmA new instance of the specified symmetric algorithm.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.