HmacT Class

Provides utility methods for computing Hash-based Message Authentication Code (HMAC) values using a specific hash algorithm of type T.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static class Hmac<T>
where T : new(), IDigest
Inheritance
Object    HmacT

Type Parameters

T
The type of hash algorithm to use, which must implement the IDigest interface and have a default constructor.

Methods

Compute(Byte, Byte) Computes an HMAC using the specified secret key for the entire input data.
Compute(Byte, Byte, Int32, Int32) Computes an HMAC using the specified secret key, input data, and a specified range within the input data.

See Also