Encrypts byte buffers.

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

Syntax

C#
public int Encrypt(
	byte[] dataIn,
	int posIn,
	byte[] dataOut,
	int posOut,
	int count
)
Visual Basic
Public Function Encrypt ( _
	dataIn As Byte(), _
	posIn As Integer, _
	dataOut As Byte(), _
	posOut As Integer, _
	count As Integer _
) As Integer
Visual C++
public:
int Encrypt(
	array<unsigned char>^ dataIn, 
	int posIn, 
	array<unsigned char>^ dataOut, 
	int posOut, 
	int count
)

Parameters

dataIn
Type: array<System..::..Byte>[]()[][]
The input buffer.
posIn
Type: System..::..Int32
Where to start reading in the input buffer.
dataOut
Type: array<System..::..Byte>[]()[][]
The output buffer.
posOut
Type: System..::..Int32
Where to start writing to the output buffer.
count
Type: System..::..Int32
The number ob bytes to encrypt.

Return Value

The number of bytes processed.

See Also