Skip to main content

Module crc

Module crc 

Source
Expand description

CRC16-CCITT checksum implementation. CRC16-CCITT checksum implementation.

This module provides CRC16-CCITT checksum calculation used by the YMODEM protocol. The polynomial used is x^16 + x^12 + x^5 + 1 (0x1021).

Functionsยง

crc16_ccitt
Calculates CRC16-CCITT checksum for the given data.