on-internet
← Community

CRC test vectors for CRC16 (CCITT)

Stack Overflow ·

Does anyone know of some CRC test vectors for CRC16-CCITT? I do not have a CRC implementation I can trust and either need to test someone's implementation or my own. (For CRC32, I use the PNG code as the gold standard, as it's a reputable reference implementation.) (this site's CRC calculator looks useful but I need to verify correctness somehow) UPDATE: The above CRC calculator looks useful but it takes only ascii, no way to enter hex. --- it's very awkward to enter hex input, though. (ASCII 12 in hex can be entered as %31%32, so you can't just copy+paste a long string of hexadecimal bytes; a

Comments

Sign in or sign up to comment and upvote.

No comments yet.