Click or drag to resize

HashAlgorithmTransformFinalBlock Method

Computes the hash value for the specified region of the specified byte array.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public byte[] TransformFinalBlock(
	byte[] inputBuffer,
	int inputOffset,
	int inputCount
)

Parameters

inputBuffer  Byte
The input to compute the hash code for.
inputOffset  Int32
The offset into the byte array from which to begin using data.
inputCount  Int32
The number of bytes in the byte array to use as data.

Return Value

Byte
An array that is a copy of the part of the input that is hashed.

Implements

ICryptoTransformTransformFinalBlock(Byte, Int32, Int32)
Exceptions
ExceptionCondition
ArgumentExceptioninputCount uses an invalid value. -or- inputBuffer has an invalid offset length.
ArgumentNullExceptioninputBuffer is null.
ArgumentOutOfRangeExceptioninputOffset is out of range. This parameter cannot be a non-negative number.
ObjectDisposedExceptionThe object has already been disposed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also