A checksum is a short value derived from a block of data by a fixed computation. The value is stored or transmitted alongside the data; recomputing it later and comparing the result shows whether the data has changed. Methods range from simple summation to CRC codes and cryptographic hash functions such as SHA-256.
Checksums are widely used to verify downloaded files, software packages, and firmware images against corruption or tampering. Device makers often check a firmware image's checksum to block unauthorized modifications.