System.Security.Cryptography.RijndaelManagedTransform Class

Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.

See Also: RijndaelManagedTransform Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class RijndaelManagedTransform : ICryptoTransform

Remarks

Note:

Using this class is not recommended. A better practice is to use System.Security.Cryptography.RijndaelManaged with a System.Security.Cryptography.CryptoStream object. The System.Security.Cryptography.CryptoStream object handles the padding issues that can occur when using System.Security.Cryptography.RijndaelManagedTransform directly. For an example, see the System.Security.Cryptography.RijndaelManaged class.

Both the erload:System.Security.Cryptography.RijndaelManaged.CreateEncryptor and erload:System.Security.Cryptography.RijndaelManaged.CreateDecryptor methods return an instance of the System.Security.Cryptography.RijndaelManagedTransform class that is initialized with the key information of the current System.Security.Cryptography.RijndaelManaged object. To encrypt or decrypt data using the Rijndael algorithm, pass the System.Security.Cryptography.RijndaelManagedTransform object returned by these methods to a System.Security.Cryptography.CryptoStream object.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0