Export (0) Print
Expand All

SymmetricAlgorithm Methods

The methods of the SymmetricAlgorithm class are listed here. For a complete list of SymmetricAlgorithm class members, see the SymmetricAlgorithm Members topic.

Public Methods

public methodClear Releases all resources used by the SymmetricAlgorithm.
public methodstatic (Shared in Visual Basic)Create Overloaded. Creates an instance of a cryptographic object used to perform the symmetric algorithm.
public methodCreateDecryptor Overloaded. Creates a symmetric decryptor object.
public methodCreateEncryptor Overloaded. Creates a symmetric encryptor object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGenerateIV When overridden in a derived class, generates a random initialization vector (IV) to be used for the algorithm.
public methodGenerateKey When overridden in a derived class, generates a random Key to be used for the algorithm.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodValidKeySize Determines whether the specified key size is valid for the current algorithm.

Protected Methods

protected methodDispose Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
protected methodFinalize Overridden. Releases the unmanaged resources used by the SymmetricAlgorithm.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SymmetricAlgorithm Class | System.Security.Cryptography Namespace

Show:
© 2014 Microsoft