Managed Transform Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.
public ref class RijndaelManagedTransform sealed : System::Security::Cryptography::ICryptoTransform
[System.Runtime.InteropServices.ComVisible(true)] public sealed class RijndaelManagedTransform : System.Security.Cryptography.ICryptoTransform
[<System.Runtime.InteropServices.ComVisible(true)>] type RijndaelManagedTransform = class interface ICryptoTransform interface IDisposable
Public NotInheritable Class RijndaelManagedTransform Implements ICryptoTransform
The Rijndael class is the predecessor of the Aes algorithm. You should use the Aes algorithm instead of Rijndael. For more information, see the entry The Differences Between Rijndael and AES in the .NET Security blog.
Using this class is not recommended. If you use the
Rijndael algorithm, 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.
Gets the block size.
Gets a value indicating whether the current transform can be reused.
Gets a value indicating whether multiple blocks can be transformed.
Gets the input block size.
Gets the output block size.
Releases all resources used by the RijndaelManagedTransform class.
Releases all resources used by the current instance of the RijndaelManagedTransform class.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Resets the internal state of RijndaelManagedTransform so it can be used again to do a different encryption or decryption.
Returns a string that represents the current object.(Inherited from Object)
|TransformBlock(Byte, Int32, Int32, Byte, Int32)||
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(Byte, Int32, Int32)||
Computes the transformation for the specified region of the specified byte array.
Explicit Interface Implementations
This API supports the product infrastructure and is not intended to be used directly from your code.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.