Rijndael.Create Method (String)

 

Creates a cryptographic object to perform the specified implementation of the Rijndael algorithm.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public static Rijndael Create(
	string algName
)

Parameters

algName
Type: System.String

The name of the specific implementation of Rijndael to create.

Return Value

Type: System.Security.Cryptography.Rijndael

A cryptographic object.

Exception Condition
TargetInvocationException

The algorithm described by the algName parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

Acceptable values for the algName parameter are Rijndael and System.Security.Cryptography.RijndaelManaged.

.NET Framework
Available since 1.1
Return to top
Show: