CyclicRedundancyCheck Class
Definition
- Assemblies
- Cuemon.Core.dll
Represents the base class from which all implementations of the CRC (Cyclic Redundancy Check) checksum algorithm must derive.
public abstract class CyclicRedundancyCheck : Hash<CyclicRedundancyCheckOptions>, IHash, IConfigurable<CyclicRedundancyCheckOptions>
- Inheritance
-
CyclicRedundancyCheck
- Implements
- Derived
- Inherited Members
Remarks
Help and inspiration was gathered @ http://www.ross.net/crc/download/crc_v3.txt
Constructors
| Name | Description |
|---|---|
| CyclicRedundancyCheck(ulong, ulong, ulong, Action<CyclicRedundancyCheckOptions>) | Initializes a new instance of the CyclicRedundancyCheck class. |
Properties
| Name | Description |
|---|---|
| FinalXor | Gets the CRC final value that is XORed to the final register value. |
| InitialValue | Gets the CRC initial value of the register. |
| LookupTable | Gets the lookup table containing the pre-computed polynomial values. |
Methods
| Name | Description |
|---|---|
| PolynomialIndexInitializer(byte) | Returns the initial value for the specified |
| PolynomialSlotCalculator(ref ulong, ulong) | Computes the polynomial |