Mono Class Library: System.Security.Cryptography.HashAlgorithm Overview | Members

System.Security.Cryptography.HashAlgorithm.TransformFinalBlock Method

Implements System.Security.Cryptography.ICryptoTransform.ICryptoTransform.TransformFinalBlock method.

public byte[] TransformFinalBlock (byte[] inputBuffer, int inputOffset, int inputCount)

Parameters

inputBuffer
The buffer from which to grab the data to be copied.
inputOffset
The offset into the input buffer to start reading at.
inputCount
The number of bytes to be copied.

Returns

Return a byte array containing the last processed block.

Remarks

Note that the last processed block isn't the hash result of the processed data. The HashAlgorithm.Hash property contains the hash results after this operation.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0