Table of Contents

CyclicRedundancyCheck32 Constructor

Definition

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

CyclicRedundancyCheck32(uint, uint, uint, Action<CyclicRedundancyCheckOptions>)

Initializes a new instance of the CyclicRedundancyCheck32 class.

public CyclicRedundancyCheck32(uint polynomial = 79764919, uint initialValue = 4294967295, uint finalXor = 4294967295, Action<CyclicRedundancyCheckOptions> setup = null)

Parameters

polynomial uint

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

initialValue uint

This parameter specifies the initial value of the register when the algorithm starts. Default is 0xFFFFFFFF.

finalXor uint

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

setup Action<CyclicRedundancyCheckOptions>

The CyclicRedundancyCheckOptions which may be configured.