Initializes a new instance of the CRCParamters class.
Namespace: LLCryptoLib.HashAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public CRCParameters(
int order,
long polynomial,
long initial,
long finalXOR,
bool reflectIn
) |
Visual Basic |
---|
Public Sub New ( _
order As Integer, _
polynomial As Long, _
initial As Long, _
finalXOR As Long, _
reflectIn As Boolean _
) |
Visual C++ |
---|
public:
CRCParameters(
int order,
long long polynomial,
long long initial,
long long finalXOR,
bool reflectIn
) |
Parameters
- order
- Type: System..::..Int32
The order of the CRC (e.g., how many bits).
- polynomial
- Type: System..::..Int64
The polynomial to use in the calculations.
- initial
- Type: System..::..Int64
The initial value of the CRC.
- finalXOR
- Type: System..::..Int64
The final value to XOR with the CRC.
- reflectIn
- Type: System..::..Boolean
Whether or not to reflect the incoming data before calculating.
See Also