SecurityServices for .NET 2.0 Documentation

ARCFourManaged.CreateEncryptor Method (Byte[], Byte[])

[This is preliminary documentation and subject to change.]

Creates a symmetric RC4 encryptor object with the specified Key.

public override ICryptoTransform CreateEncryptor(
   Byte[] rgbKey,
   Byte[] rgbIV
);

Parameters

Byte[]
The secret key to be used for the symmetric algorithm.
Byte[]
This parameter is not used an should be set to a null reference, or to an array with zero or one bytes.

Return Value

A symmetric ARCFour encryptor object.

Remarks

Use the CreateDecryptor overload with the same signature to decrypt the result of this method.

See Also

ARCFourManaged Class | Org.Mentalis.SecurityServices.Cryptography Namespace | ARCFourManaged.CreateEncryptor Overload List