Editare

Partajați prin


RC2.KeySize Property

Definition

Gets or sets the size of the secret key used by the RC2 algorithm in bits.

public:
 virtual property int KeySize { int get(); void set(int value); };
public override int KeySize { get; set; }
member this.KeySize : int with get, set
Public Overrides Property KeySize As Integer

Property Value

The size of the secret key used by the RC2 algorithm.

Exceptions

The value for the RC2 key size is less than the effective key size value.

Remarks

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.

Applies to

See also