public abstract class RC2 : SymmetricAlgorithm { // Public Constructors public RC2( ); // Protected Instance Fields protected int EffectiveKeySizeValue; // Public Instance Properties public virtual int EffectiveKeySize{set; get; } public override int KeySize{set; get; // overrides SymmetricAlgorithm// Public Static Methods public static RC2 Create( ); public static RC2 Create(string AlgName); }
This class extends SymmetricAlgorithm and is the abstract representation of the RC2 algorithm. Individual implementations of RC2 will extend this class. The .NET Framework class library includes the RC2CryptoServiceProvider class, which is the default implementation.