Table of Contents

CreateFnv Method

Definition

Namespace
Cuemon.Security
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Security/HashFactory.cs

CreateFnv(NonCryptoAlgorithm, Action<FowlerNollVoOptions>)

Creates an instance of a non-cryptographic implementation that derives from FowlerNollVoHash with the specified algorithm. Default is FowlerNollVo32 using Fnv1a.

public static Hash CreateFnv(NonCryptoAlgorithm algorithm = NonCryptoAlgorithm.Fnv32, Action<FowlerNollVoOptions> setup = null)

Parameters

algorithm NonCryptoAlgorithm

The NonCryptoAlgorithm that defines the non-cryptographic implementation. Default is Fnv32.

setup Action<FowlerNollVoOptions>

The FowlerNollVoOptions which may be configured.

Returns

Hash

A Hash implementation of the by parameter specified algorithm.