Table of Contents

CyclicRedundancyCheck Constructor

Definition

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

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

Initializes a new instance of the CyclicRedundancyCheck class.

protected CyclicRedundancyCheck(ulong polynomial, ulong initialValue, ulong finalXor, Action<CyclicRedundancyCheckOptions> setup)

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 need to be configured.