แก้ไข

แชร์ผ่าน


RC2 Constructor

Definition

Initializes a new instance of RC2.

protected:
 RC2();
public:
 RC2();
protected RC2 ();
public RC2 ();
Protected Sub New ()
Public Sub New ()

Remarks

You cannot create an instance of an abstract class. Application code will create a new instance of a derived class.

This algorithm supports key lengths from 40 bits to 1024 bits in increments of 8 bits, but the RC2CryptoServiceProvider implementation only supports key lengths from 40 bits to 128 bits in increments of 8 bits.

This method initializes the protected fields of SymmetricAlgorithm to the default values listed in the following table.

Field Default Value
KeySizeValue 128
BlockSizeValue 64
FeedbackSizeValue 64

Applies to

See also