HMACMD5: TransformBlock

TransformBlock

Computes the hash for the specified block of data.



 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 compute the hash from.
InputOffset
[ByVal] Long. The starting index in the input data to compute the hash.
InputCount
[ByVal] Long. The number of bytes to compute the hash from.
OutputBuffer
[ByRef] Byte. The array to place the input buffer bytes in.
OutputOffset
[ByVal] Long. The starting index to beging copying the bytes to.

Return Values

Long -  The number of bytes processed.

Remarks

The OutputBuffer will contain the same data as the InputBuffer. No hash values are placed in the OutputBuffer.

If a null array is passed in for the OutputBuffer, then nothing is copied, however, the hash is still computed on the InputBuffer data.

See Also

Project CorLib Overview

Class HMACMD5 Overview