Creates a symmetric encryptor object with the specified Key property and initialization vector (IV).

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

Syntax

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

Parameters

rgbKey
Type: array<System..::..Byte>[]()[][]
The secret key to use for the symmetric algorithm.
rgbIV
Type: array<System..::..Byte>[]()[][]
The initialization vector to use for the symmetric algorithm.

Return Value

A symmetric encryptor object.

See Also