Crc32(UInt32, UInt32, Boolean) Constructor

Initializes a new instance of the Crc32 class.

Definition

Namespace: KGySoft.Security.Cryptography
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
[CLSCompliantAttribute(false)]
public Crc32(
	uint polynomial,
	uint initialCrc = 0,
	bool isBigEndian = true
)

Parameters

polynomial  UInt32
The polynomial to use to calculate the CRC value.
initialCrc  UInt32  (Optional)
The initial CRC value to use. If the final CRC is calculated in more sessions the result of the last calculation can be specified here. This parameter is optional.
Default value: 0.
isBigEndian  Boolean  (Optional)
If , the byte order of the ComputeHash methods and the Hash property will be big endian, which is the standard CRC32 representation; otherwise, little endian. Does not affect the UInt32 return values though. This parameter is optional.
Default value: .

See Also