How does a checksum work?

Papabravo

Joined Feb 24, 2006
22,058
I would like to know how the checksum works.
I've tried to search for, but I didn't understand.
A checksum is a rudimentary error detection mechanism for a block of data. There are a whole range of better methods that not only detect errors but correct them as well. In some case these methods are computationally intensive. When sending the data block again takes less time than correcting the data, this is often the preferred method of dealing with errors.

One simple checksum method is to add the 8-bit values of each byte in the block together and ignore the carry out of the most significant bit. This would be the sum modulo 256.
 
Top