Export (0) Print
Expand All

SymmetricAlgorithm Methods

The SymmetricAlgorithm type exposes the following members.

  NameDescription
Public method Clear Releases all resources used by the SymmetricAlgorithm class.
Public method Static member Create() Creates an instance of the default implementation of a symmetric algorithm.
Public method Static member Create(String) Creates an instance of the specified implementation of a symmetric algorithm.
Public method CreateDecryptor() Creates a symmetric decryptor object with the current Key property and initialization vector (IV).
Public method CreateDecryptor(Byte[], Byte[]) When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV).
Public method CreateEncryptor() Creates a symmetric encryptor object with the current Key property and initialization vector (IV).
Public method CreateEncryptor(Byte[], Byte[]) When overridden in a derived class, creates a symmetric encryptor object with the specified Key property and initialization vector (IV).
Public method Dispose() Releases all resources used by the current instance of the SymmetricAlgorithm class.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GenerateIV When overridden in a derived class, generates a random initialization vector (IV) to use for the algorithm.
Public method GenerateKey When overridden in a derived class, generates a random key (Key) to use for the algorithm.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidKeySize Determines whether the specified key size is valid for the current algorithm.
Top

Community Additions

ADD
Show:
© 2014 Microsoft