2 ms·
The mysterious 4 extra bytes might be the CRC itself. In some systems, when calculating the CRC of a file that embeds the CRC itself, you use a fixed value lik
by dale_glass 5y ago
The mysterious 4 extra bytes might be the CRC itself.
In some systems, when calculating the CRC of a file that embeds the CRC itself, you use a fixed value like all zeroes in the part of the message that would contain the CRC. For instance, the IPv4 checksum:
"The checksum field is the 16-bit ones' complement of the ones' complement sum of all 16-bit words in the header. For purposes of computing the checksum, the value of the checksum field is zero."
- _Microft 5y agoI had the same idea when reaching that part, as calculating the checksum with zeroed out bytes at the checksum position is not that unusual.