Skip to main content

CRC32

Data frames end with a CRC-32/ISO-HDLC, the one Ethernet and ZIP use (zlib.crc32 in Python).

ParameterValue
Polynomial0x04C11DB7
Initial value0xFFFFFFFF
XOR out0xFFFFFFFF
Reflect input/outputtrue
Size, byte order4 bytes, little-endian
Check ("123456789")0xCBF43926

The CRC is the last 4 bytes before /BLAECK>. It covers everything from the message key onward:

FrameCoveredNot covered
D2key → StatusPayload—
B1, D1key → last data byteStatusByte

A frame whose CRC doesn't match is discarded.