Click or drag to resize

DESCryptoServiceProvider Methods

The DESCryptoServiceProvider type exposes the following members.

Methods
 NameDescription
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.SymmetricAlgorithm class.
(Inherited from SymmetricAlgorithm)
Public methodCreateDecryptor Creates a symmetric decryptor object with the current Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
(Inherited from SymmetricAlgorithm)
Public methodCreateDecryptor(Byte, Byte) Creates a symmetric Data Encryption Standard (Crestron.SimplSharp.Cryptography.DES) decryptor object with the specified key (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key) and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
(Overrides SymmetricAlgorithmCreateDecryptor(Byte, Byte))
Public methodCreateEncryptor Creates a symmetric encryptor object with the current Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
(Inherited from SymmetricAlgorithm)
Public methodCreateEncryptor(Byte, Byte) Creates a symmetric Data Encryption Standard (Crestron.SimplSharp.Cryptography.DES) encryptor object with the specified key (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key) and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV).
(Overrides SymmetricAlgorithmCreateEncryptor(Byte, Byte))
Public methodDispose Dispose
(Inherited from SymmetricAlgorithm)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the Crestron.SimplSharp.Cryptography.SymmetricAlgorithm and optionally releases the managed resources.
(Inherited from SymmetricAlgorithm)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGenerateIV Generates a random initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV) to use for the algorithm.
(Overrides SymmetricAlgorithmGenerateIV)
Public methodGenerateKey Generates a random key (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key) to be used for the algorithm.
(Overrides SymmetricAlgorithmGenerateKey)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(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.
(Inherited from SymmetricAlgorithm)
Top
See Also