Talk:Checksum

From Wikipedia, the free encyclopedia

This article is within the scope of WikiProject Computer science, which aims to create a comprehensive computer science reference for Wikipedia. Visit the project page for more information and to join in on related discussions.
Start rated as start-Class on the assessment scale
Mid rated as mid-importance on the assessment scale

i just have a question about the checksum when the checksum will be useful to detect changes to the file???????

Checksum is only used to check that the data sent is correct, it doesnt change anything!

In order to ensure content accuracy you should consider using something like MD5 or SHA-1, which are cryptographic hashing algorithms and in wide use for such purposes.

Checksums are good at detecting accidental corruption (e.g. that introduced by signal noise) but the algorithm is sufficiently predictable that it forms no defence against malicious attack. For that sort of purpose, a cryptographic hash function should instead be used, which is a kind of checksumming algorithm that has the additional property that it is pretty easy to go from the data to the hash, but very hard to find some data that hashes to a particular value. (Or at least that's the way it is supposed to work; SHA-256 is the current recommendation for crypto-hash functions as MD5 has been broken and SHA-1 is believed breakable. It should be possible to reference these; they were results from a team in China, and were fairly widely reported even outside the security conference where their papers were.) 82.42.250.222 00:26, 11 January 2007 (UTC)


hmm thats good —Preceding unsigned comment added by 63.133.162.226 (talk) 21:23, 7 January 2008 (UTC)


I accidentally typed checksun into the search field. Is there a way I could put in, did you mean checksum? Like google does?


Step 3 of the example has an error: the two's complement of 18h is E7h. This means that when testing the checksum byte, the result will be FFh, not 00h as stated. Should 1 be added to the checksum at some point? Klox 21:42, 25 July 2007 (UTC)

I guess, you made the one's complement what is not requested. (Elmar Sack (talk) 08:03, 8 December 2007 (UTC))


The example does not seem correct: 118h + E8h = 200h, not 100h as stated. Is this a mistake? Brolin Empey 17:42, 10 August 2007 (UTC)

Yes, it is. (Elmar Sack (talk) 08:03, 8 December 2007 (UTC))

[edit] hex

For us non-computery regular folks, howabout using regular numbers instead of hex for clarity? Also, the last digit of a barcode is based on added all the other digits together. Is this a checksum? A bar code would probably be a great example of a checksum at work, as regular people could understand it. —Preceding unsigned comment added by 216.57.220.248 (talk) 22:25, 21 November 2007 (UTC)