Table of Contents

CreateCrc64 Method

Definition

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

CreateCrc64(ulong, ulong, ulong, Action<CyclicRedundancyCheckOptions>)

Creates an instance of CyclicRedundancyCheck64 from the specified arguments.

public static Hash CreateCrc64(ulong polynomial, ulong initialValue, ulong finalXor, Action<CyclicRedundancyCheckOptions> setup = null)

Parameters

polynomial ulong

This is a binary value that should be specified as a hexadecimal number.

initialValue ulong

This parameter specifies the initial value of the register when the algorithm starts.

finalXor ulong

This is an W-bit value that should be specified as a hexadecimal number.

setup Action<CyclicRedundancyCheckOptions>

The CyclicRedundancyCheckOptions which may be configured.

Returns

Hash

A Hash implementation of CyclicRedundancyCheck64.

CreateCrc64()

Creates an instance of CyclicRedundancyCheck64 using Crc64.

public static Hash CreateCrc64()

Returns

Hash

A Hash implementation of CyclicRedundancyCheck64.