Mentalis.org Security Library documentation

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

Creates a symmetric RC4 decryptor object with the specified Key.

[Visual Basic]
Overrides Overloads Public Function CreateDecryptor( _
   ByVal rgbKey As Byte(), _
   ByVal rgbIV As Byte() _
) As ICryptoTransform
[C#]
public override ICryptoTransform CreateDecryptor(
   byte[] rgbKey,
   byte[] rgbIV
);

Parameters

rgbKey
The secret key to be used for the symmetric algorithm.
rgbIV
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 decryptor object.

Remarks

This method decrypts an encrypted message created using the CreateEncryptor overload with the same signature.

See Also

ARCFourManaged Class | Org.Mentalis.Security.Cryptography Namespace | ARCFourManaged.CreateDecryptor Overload List