Creates a symmetric RC4 decryptor object with the specified Key.

Namespace: LLCryptoLib.Security.Cryptography
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public override ICryptoTransform CreateDecryptor(
	byte[] rgbKey,
	byte[] rgbIV
)
Visual Basic
Public Overrides Function CreateDecryptor ( _
	rgbKey As Byte(), _
	rgbIV As Byte() _
) As ICryptoTransform
Visual C++
public:
virtual ICryptoTransform^ CreateDecryptor(
	array<unsigned char>^ rgbKey, 
	array<unsigned char>^ rgbIV
) override

Parameters

rgbKey
Type: array<System..::..Byte>[]()[][]
The secret key to be used for the symmetric algorithm.
rgbIV
Type: array<System..::..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 decryptor object.

Remarks

This method decrypts an encrypted message created using the CreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][]) overload with the same signature.

Exceptions

ExceptionCondition
System..::..ObjectDisposedException
System..::..ArgumentNullException
System.Security.Cryptography..::..CryptographicException

See Also