Yes, I forgot to add that. Unfortunately, even with the change, the result is:
cradcliff% ./crc16-modular.pl 123456789 CRC16 in decimal: 4535 CRC16 in hex: 11b7
...which doesn't match the 0xBB3D result provided by the on-line calculator. I'm guessing that String::CRC doesn't use the CRC-16 polynomial or some other CRC-16-specific setting.
I'll check my other algorithm against the on-line calculator. If anyone has algorithmic hints, please post them.
In reply to (Checking String::CRC) Re: CRC-16 algorithm
by CMonster
in thread CRC-16 algorithm
by CMonster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |