DESCryptoServiceProvider Methods

The DESCryptoServiceProvider type exposes the following members.

  NameDescription
Public method Clear Releases all resources used by the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm.)
Public method CreateDecryptor() Creates a symmetric decryptor object with the current Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm.)
Public method CreateDecryptor(Byte[], Byte[]) Creates a symmetric Data Encryption Standard (DES) decryptor object with the specified key (Key) and initialization vector (IV). (Overrides SymmetricAlgorithm.CreateDecryptor(Byte[], Byte[]).)
Public method CreateEncryptor() Creates a symmetric encryptor object with the current Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm.)
Public method CreateEncryptor(Byte[], Byte[]) Creates a symmetric Data Encryption Standard (DES) encryptor object with the specified key (Key) and initialization vector (IV). (Overrides SymmetricAlgorithm.CreateEncryptor(Byte[], Byte[]).)
Public method Dispose() Releases all resources used by the current instance of the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. (Inherited from SymmetricAlgorithm.)
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 Generates a random initialization vector (IV) to use for the algorithm. (Overrides SymmetricAlgorithm.GenerateIV().)
Public method GenerateKey Generates a random key (Key) to be used for the algorithm. (Overrides SymmetricAlgorithm.GenerateKey().)
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. (Inherited from SymmetricAlgorithm.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft