Code Craft

Software is equal parts Art, Craft, and Engineering

CRC-16 Checksum

This is an C module from ages ago for calculating a 16 bit CRC. As far as I can recall it is compatible with the ancient X-Modem file transfer protocol… but I wouldn’t want to bet my life, my wife and my wallet on it. I used it for years as a checksum for a modem communications protocol and it worked really well in that context.

Get The Source

Download CRC16.c.