: 1, the check sum way will add up all the data in bytes, get a checksum
2, exclusive or way: so data in bytes or, get a checksum,
3, radix-minus-one complement addition: all data in bytes radix-minus-one complement together again, this is also in the TCP/IP protocol in a way,
4, CRC: using CRC8 within 256 bytes of data validation can be calculated,
CodePudding user response:
Feel the CRC may be a bit moreCodePudding user response:
A term is called the collision rate,If you is accumulative and 8-bit, collision rate is 1/256,
Exclusive or is also a kind of additive, that is, the binary plus, commonly used in the domain algorithm,
Radix-minus-one complement addition, collision rate is the same,
CRC depends on how much you use, how many bits, collision rate is how much power of the two bottom,
CRC is an effect, and that is more conducive to detect some straw cocooning frame error,
CodePudding user response:
You feel more professional