CreateCrc32 Method
Definition
CreateCrc32(uint, uint, uint, Action<CyclicRedundancyCheckOptions>)
Creates an instance of CyclicRedundancyCheck32 from the specified arguments.
public static Hash CreateCrc32(uint polynomial, uint initialValue, uint finalXor, Action<CyclicRedundancyCheckOptions> setup = null)
Parameters
polynomialuintThis is a binary value that should be specified as a hexadecimal number.
initialValueuintThis parameter specifies the initial value of the register when the algorithm starts.
finalXoruintThis is an W-bit value that should be specified as a hexadecimal number.
setupAction<CyclicRedundancyCheckOptions>The CyclicRedundancyCheckOptions which may be configured.
Returns
- Hash
A Hash implementation of CyclicRedundancyCheck32.
CreateCrc32()
Creates an instance of CyclicRedundancyCheck32 using Crc32.
public static Hash CreateCrc32()
Returns
- Hash
A Hash implementation of CyclicRedundancyCheck32.