Table of Contents

KeyedCryptoHash<TAlgorithm> Class

Definition

Namespace
Cuemon.Security.Cryptography
Assemblies
Cuemon.Security.Cryptography.dll
Source
src/Cuemon.Security.Cryptography/KeyedCryptoHash.cs

Represents the base class from which all implementations of Hash-based Message Authentication Code (HMAC) should derive. Implements the UnkeyedCryptoHash<TAlgorithm>

public abstract class KeyedCryptoHash<TAlgorithm> : UnkeyedCryptoHash<TAlgorithm>, IHash, IConfigurable<ConvertibleOptions> where TAlgorithm : KeyedHashAlgorithm

Type Parameters

TAlgorithm

The type of the KeyedHashAlgorithm to implement.

Inheritance
UnkeyedCryptoHash<TAlgorithm>
KeyedCryptoHash<TAlgorithm>
Implements
Derived
Inherited Members

Constructors

Name Description
KeyedCryptoHash(byte[], Action<ConvertibleOptions>)

Initializes a new instance of the KeyedCryptoHash<TAlgorithm> class.

Methods

Name Description
ComputeHash(byte[])

Computes the hash value for the specified byte array.

See Also