A checksum is a device used to establish the integrity of data. More specifically, a checksum is a value which is calculated based on some data which, later, can be used to verify that the data used to generate it remains unchanged. Usually this is accomplished by adding the checksum to the sum of the data values and verifying the result.