SymmetricAlgorithm Methods
.NET Framework 4
The SymmetricAlgorithm type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clear | Releases all resources used by the SymmetricAlgorithm class. |
|
Create() | Creates an instance of the default implementation of a symmetric algorithm. |
|
Create(String) | Creates an instance of the specified implementation of a symmetric algorithm. |
|
CreateDecryptor() | Creates a symmetric decryptor object with the current Key property and initialization vector (IV). |
|
CreateDecryptor(Byte[], Byte[]) | When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV). |
|
CreateEncryptor() | Creates a symmetric encryptor object with the current Key property and initialization vector (IV). |
|
CreateEncryptor(Byte[], Byte[]) | When overridden in a derived class, creates a symmetric encryptor object with the specified Key property and initialization vector (IV). |
|
Dispose() | Releases all resources used by the current instance of the SymmetricAlgorithm class. |
|
Dispose(Boolean) | Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. |
|
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.) |
|
GenerateIV | When overridden in a derived class, generates a random initialization vector (IV) to use for the algorithm. |
|
GenerateKey | When overridden in a derived class, generates a random key (Key) to use for the algorithm. |
|
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.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
ValidKeySize | Determines whether the specified key size is valid for the current algorithm. |