libcrc icon indicating copy to clipboard operation
libcrc copied to clipboard

CRC-16 CRC-CCITT (Kermit) differente return values

Open fgarbin opened this issue 3 years ago • 1 comments

Hi @lammertb,

I am using your lib and I got found different values for CRC-16 CRC-CCITT (Kermit) algorithm. On your calcutation site (https://www.lammertbies.nl/comm/info/crc-calculation) for the value 123456789 I got 0x8921

In other way at site (https://crccalc.com/) for same valeu and algorithm got 0x2189

Is there any way to get the same value ?

Thanks

fgarbin avatar Oct 26 '22 18:10 fgarbin

It's obvious that it's caused by endian

DCX-C avatar Dec 26 '24 08:12 DCX-C