DES

DES


Represents a base interface that all DES algorithms should implement.


Public:

Properties:

NameDescription
 BlockSize (get) Returns the block size in bits.  
 BlockSize (let) Sets the block size in bits.  
 FeedbackSize (get) Returns the feedback size in bits.  
 FeedbackSize (let) Sets the feedback size in bits.  
 IV (get) Returns the Initialization Vector (IV).  
 IV (let) Sets the Initialization Vectory (IV).  
 Key (get) Returns the secret key used by the cryptographic operation.  
 Key (let) Sets the secret key to be used by the cryptographic operation.  
 KeySize (get) Returns the size of the key, in bits, used by the cryptographic operation.  
 KeySize (let) Sets the size of the key, in bits.  
 LegalBlockSizes (get) Returns a list of legal block sizes.  
 LegalKeySizes (get) Returns a list of legal key sizes.  
 Mode (get) Returns the mode the current algoritm is set to.  
 Mode (let) Sets the mode the current algorithm is set to.  
 Padding (get) Returns the padding to be used by the algorithm.  
 Padding (let) Sets the padding to be used by the algorithm.  

Methods:

NameDescription
 Clear Releases all resources.  
 CreateDecryptor Creates a new decryptor using the Data Encryption Standard algorithm.  
 CreateEncryptor Creates a new encryptor using the Data Ecryption Standard algorithm.  
 Equals Returns if this instance and the value are equal.  
 GenerateIV Generates a new Initialization Vector array.  
 GenerateKey Generates a new Key based on the key size.  
 GetHashCode Returns a semi-unique value that represents this instance.  
 ToString Returns a string representation of this instance.  
 ValidKeySize Checks if the specific number of bits is a valid key size.  

Remarks

Data Encryption Standard (DES) is a block cipher that uses a 56-bit key encryption mechanism.

See Also

Project CorLib Overview

Class DES Overview

DESCryptoServiceProvider

SymmetricAlgorithm