RijndaelManagedTransform Class
Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
The RijndaelManagedTransform type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BlockSizeValue | Gets the block size. |
![]() | CanReuseTransform | Gets a value indicating whether the current transform can be reused. |
![]() | CanTransformMultipleBlocks | Gets a value indicating whether multiple blocks can be transformed. |
![]() | InputBlockSize | Gets the input block size. |
![]() | OutputBlockSize | Gets the output block size. |
| Name | Description | |
|---|---|---|
![]() | Clear | Releases all resources used by the RijndaelManagedTransform class. |
![]() | Dispose | Releases all resources used by the current instance of the RijndaelManagedTransform class. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Reset | Resets the internal state of RijndaelManagedTransform so it can be used again to do a different encryption or decryption. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TransformBlock | Computes the transformation for the specified region of the input byte array and copies the resulting transformation to the specified region of the output byte array. |
![]() | TransformFinalBlock | Computes the transformation for the specified region of the specified byte array. |
Note |
|---|
Using this class is not recommended. A better practice is to use RijndaelManaged with a CryptoStream object. The CryptoStream object handles the padding issues that can occur when using RijndaelManagedTransform directly. For an example, see the RijndaelManaged class. |
Both the CreateEncryptor and CreateDecryptor methods return an instance of the RijndaelManagedTransform class that is initialized with the key information of the current RijndaelManaged object. To encrypt or decrypt data using the Rijndael algorithm, pass the RijndaelManagedTransform object returned by these methods to a CryptoStream object.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
