RC2

RC2


Represents a standard interface implemented by all RC2 crypto service providers.


Public:

Properties:

NameDescription
 BlockSize (get) Returns the block size, in bits, used by the cryptographic operation.  
 BlockSize (let) Sets the block size, in bits, used by the cryptographic operation.  
 EffectiveKeySize (get) Returns the effective key size.  
 EffectiveKeySize (let) Sets the effective key size.  
 FeedbackSize (get) Returns the feedback size, in bits, used by the cryptographic operation.  
 FeedbackSize (let) Sets the feedback size, in bits, used by the cryptographic operation.  
 IV (get) Returns the Initialization Vector used by the cryptographic operation.  
 IV (let) Sets the Initialization Vector used by the cryptographic operation.  
 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 RC2 algorithm.  
 CreateEncryptor Creates a new encryptor using the RC2 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.  

See Also

Project CorLib Overview

Class RC2 Overview