HmacTCompute(Byte, Byte, Int32, Int32) Method

Computes an HMAC using the specified secret key, input data, and a specified range within the input data.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static byte[] Compute(
	byte[] key,
	byte[] data,
	int position,
	int length
)

Parameters

key  Byte
The secret key for the HMAC computation.
data  Byte
The input data to compute the HMAC over.
position  Int32
The starting position in the input data.
length  Int32
The length of the input data to include in the HMAC computation.

Return Value

Byte
The computed HMAC as a byte array.

See Also