java - CRC-16 with 0xA001 polynomial -


I want to calculate the CRC-16 checksum of a byte array with the 0xA001 polynomial. But I do not really know how to do this in Java, and how the given polynomial is used. Is this a special type of special value (0xA001)? Can you point me in a library that can calculate the checksum for me, or point me to some useful resources?

Thanks in advance, M.

It appears that you want a polynomial, x 16 + x + x 2 1, reverse ( 0xA001 ) polynomial, x 16 + x 12 + x 5 + 1; A similar unit is a test that should start in the right direction.


Comments