Mentalis.org Security Library documentation

RC4.Mode Property

Gets or sets the mode for operation of the symmetric algorithm.

[Visual Basic]
Overrides Public Property Mode As CipherMode
[C#]
public override System.Security.Cryptography.CipherMode Mode {get; set;}

Property Value

The mode for operation of the symmetric algorithm.

Remarks

RC4 only supports the OFB cipher mode. See CipherMode for a description of this mode.

Exceptions

Exception TypeCondition
CryptographicExceptionThe cipher mode is not OFB.

See Also

RC4 Class | RC4 Members | Org.Mentalis.Security.Cryptography Namespace