ArcTwoManaged Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9313)
The managed version of the algorithm defined by RFC 2268.
Syntax
public class ArcTwoManaged : RC2, IDisposableImplements
Inherited Members
Constructors
| Name | Description | 
|---|---|
| ArcTwoManaged() | Initializes a new instance of ArcTwoManaged class. | 
Properties
| Name | Description | 
|---|---|
| Mode | Gets or sets the mode for operation of the symmetric algorithm. | 
| Padding | Gets or sets the padding mode used in the symmetric algorithm. | 
Methods
| Name | Description | 
|---|---|
| CreateDecryptor(Byte[], Byte[]) | Creates a RC2 decryptor object with the specified key. | 
| CreateEncryptor(Byte[], Byte[]) | Creates a RC2 encryptor object with the specified key. | 
| GenerateIV() | Generates a random initialization vector (IV) to be used for the algorithm. | 
| GenerateKey() | Generates a random key to be used for the algorithm. |