SHA1Managed: 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
The OutputBuffer will contain the same data as the InputBuffer. No hash values are placed in the OutputBuffer.
If the OutputBuffer is a Null Array, or is the same array as the InputBuffer and the OutputOffset equals the InputOffset, then nothing is copied, however, the hash is still computed on the InputBuffer data.
The TransformFinalBlock needs to be called to finish computing the hash, this method alone cannot compute the entire hash.