RijndaelManagedTransform Class
Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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 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.
