Table of Contents

UnkeyedCryptoHash<TAlgorithm> Class

Definition

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

Represents the base class from which all implementations of cryptographic hashing algorithm should derive. Implements the Hash<TOptions>

public abstract class UnkeyedCryptoHash<TAlgorithm> : Hash<ConvertibleOptions>, IHash, IConfigurable<ConvertibleOptions> where TAlgorithm : HashAlgorithm

Type Parameters

TAlgorithm

The type of the HashAlgorithm to implement.

Inheritance
UnkeyedCryptoHash<TAlgorithm>
Implements
Derived
Inherited Members

Constructors

Name Description
UnkeyedCryptoHash(Func<TAlgorithm>, Action<ConvertibleOptions>)

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

Properties

Name Description
Initializer

Gets the function delegate responsible for initializing an instance of a HashAlgorithm derived class.

Methods

Name Description
ComputeHash(byte[])

Computes the hash value for the specified byte array.

See Also