RC2

RC2


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


See Also

Project VBCorLib Overview

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
 ClearReleases all resources. 
 CreateDecryptorCreates a new decryptor using the RC2 algorithm. 
 CreateEncryptorCreates a new encryptor using the RC2 algorithm. 
 EqualsReturns if this instance and the value are equal. 
 GenerateIVGenerates a new Initialization Vector array. 
 GenerateKeyGenerates a new Key based on the key size. 
 GetHashCodeReturns a semi-unique value that represents this instance. 
 ToStringReturns a string representation of this instance. 
 ValidKeySizeChecks if the specific number of bits is a valid key size.