Does anyone know some CRC test vectors for CRC16-CCITT ?
I do not have a CRC implementation that I can trust, and either need to test someone else's implementation, or my own. (For CRC32, I use the PNG code as the gold standard, as this is a reliable reference implementation.)
( this site CRC calculator looks useful, but I need to check the correctness somehow)
UPDATE: the above CRC calculator looks useful , but it only accepts ascii, has no way to enter hex. . However, it is very difficult to enter hexadecimal input. (ASCII 12in hexadecimal format can be entered as %31%32, so you cannot just copy + paste the long string of hex bytes, and the character %does not seem to have an output)
I checked this online calculator that takes hexadecimal inputs against the Boost test vectors for CRC16, CRC16-CCITT and CRC32.
source
share