Encyclopedia > Checksum

  Article Content


In computer technology, a checksum is a very simple integrity-protection measure. It is used mainly in data storage, and networking protocols.

It works by adding up the bytes, or some other basic components in a string of data, and storing the resulting value.

Later, anyone (who has the authentic checksum) can verify that the message was not corrupted by doing the same operation on the data, and "checking" the "sum".

Note: The term 'checksum' is also often used incorrectly to mean a CRC. CRCs are in general more effective than checksums at detecting random errors.

While a checksum is somewhat useful in protecting against accidental modification, it provides no security against a malicious agent as it is trivial to circumvent. Even a reordering of the bytes does not change the checksum. Therefore, the use of a cryptographically strong[?] hash functions is often necessary instead of a checksum.

See also Parity, CRC, CRC32, MD5, Cryptography, Threat model[?], Luhn formula, check digit[?]

All Wikipedia text is available under the terms of the GNU Free Documentation License

  Search Encyclopedia

Search over one million articles, find something about almost anything!
  Featured Article
Winter War

... but to refuse Stalin's demands, and on November 30 the Soviets attacked with 23 divisions of 450,000 men. Stalin expected to conquer the whole country by the end of th ...