Constructs a table-based CRC function using the specified polynomial.
Constructs a table-based CRC function using the specified polynomial.
Each of the input vectors must be the same size.
function that calculates a n
-bit CRC where n = poly.size
Calculates a bitwise CRC of the specified value.
Calculates a bitwise CRC of the specified value.
If calculating a lot of CRCs, prefer the apply
method, which precomputes a lookup table
and uses it in each CRC calculation.
function that calculates a n
-bit CRC where n = poly.size
Provides support for calculating cyclic redundancy checks.
http://www.repairfaq.org/filipg/LINK/F_crc_v3.html