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

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

See Also

Project CorLib Overview

Class HMACBase Overview