HMACBase: TransformBlock

TransformBlock

Processes a block of data towards the computed hash.

 Public Function TransformBlock(
	  ByRef InputBuffer ( ) As Byte,
	  ByVal InputOffset As Long,
	  ByVal InputCount As Long,
	  ByRef OutputBuffer ( ) As Byte,
	  ByVal OutputOffset As Long ) As Long

Parameters

InputBuffer
[ByRef] Byte. The data to be processed.
InputOffset
[ByVal] Long. The starting index to begin processing data.
InputCount
[ByVal] Long. The number of bytes to be processed.
OutputBuffer
[ByRef] Byte. The array to place the processed data.
OutputOffset
[ByVal] Long. The starting index to begin placing the processed data.

Return Values

Long -  The number of bytes processed.

Remarks

The OutputBuffer will not contain a hashed value. The data processed in the InputBuffer will be copied to the OutputBuffer. The data will not be copied if the OutputBuffer is a null array or the OutputBuffer and InputBuffer are the same array and the InputOffset and OutputOffset are the same.

See Also

Project VBCorLib Overview | Class HMACBase Overview