Click or drag to resize

SymmetricAlgorithm Methods

The SymmetricAlgorithm type exposes the following members.

Methods
 NameDescription
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.SymmetricAlgorithm class.
Public methodStatic memberCreate Creates a default cryptographic object used to perform the symmetric algorithm.
Public methodStatic memberCreate(String) Creates the specified cryptographic object used to perform the symmetric algorithm.
Public methodCreateDecryptor Creates a symmetric decryptor object with the current Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
Public methodCreateDecryptor(Byte, Byte) When overridden in a derived class, creates a symmetric decryptor object with the specified Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
Public methodCreateEncryptor Creates a symmetric encryptor object with the current Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
Public methodCreateEncryptor(Byte, Byte) When overridden in a derived class, creates a symmetric encryptor object with the specified Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
Public methodDispose Dispose
Protected methodDispose(Boolean) Releases the unmanaged resources used by the Crestron.SimplSharp.Cryptography.SymmetricAlgorithm and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateIV When overridden in a derived class, generates a random initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV) to use for the algorithm.
Public methodGenerateKey When overridden in a derived class, generates a random key (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key) to use for the algorithm.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidKeySize Determines whether the specified key size is valid for the current algorithm.
Top
See Also