Creates a symmetric Rijndael decryptor object with the specified Key and initialization vector (IV).

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>[]()[][]
The IV to be used for the symmetric algorithm.

Return Value

A symmetric Rijndael 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..::..ObjectDisposedExceptionThe object has been disposed.
System.Security.Cryptography..::..CryptographicExceptionAn error occurs while creating the decryptor.

See Also