Encrypts the specified region of the input byte array and copies the result to the specified region of the output byte array.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Security (in Rebex.Security.dll)

Syntax

Visual Basic
Public Sub EncryptSector ( _
	tweak As Byte(), _
	inputBuffer As Byte(), _
	inputOffset As Integer, _
	inputCount As Integer, _
	outputBuffer As Byte(), _
	outputOffset As Integer _
)
C#
public void EncryptSector(
	byte[] tweak,
	byte[] inputBuffer,
	int inputOffset,
	int inputCount,
	byte[] outputBuffer,
	int outputOffset
)

Parameters

tweak
Type: array<System..::..Byte>[]()[][]
The tweak value (check BlockSize for required length).
inputBuffer
Type: array<System..::..Byte>[]()[][]
The input for which to compute the transform.
inputOffset
Type: System..::..Int32
The offset into the input byte array from which to begin using data.
inputCount
Type: System..::..Int32
The number of bytes in the input byte array to use as data.
outputBuffer
Type: array<System..::..Byte>[]()[][]
The output to which to write the transform.
outputOffset
Type: System..::..Int32
The offset into the output byte array from which to begin writing data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also