I need to implement a CRC16 with a custom polynomial in Javascript.
After searching several NPM modules and this SO question ( as
The example linked has a table derived from the CRC polynomial. You can certainly find code that generates the table, given the polynomial. You can find code that computes any CRC, and code that generates CRC code, including the table, given the definition of the CRC (polynomial, bit-ordering, initial value, final xor value).