![]() |
Sumchecks
I'm looking for more information about this statement:
Quote:
Thanks |
Re: Sumchecks
Generally speaking, you will sum or sum-without-carry (xor) the bytes then negate or invert the sum and tack it on the end. The reason for the negation or inversion is that when you re-sum the whole thing, including the sum, the result will be zero if there are no errors.
|
Re: Sumchecks
That sounds pretty straight forward. Thank you for the information. An error would typically mean that a byte is missing or has been tampered with correct? Also if there was seeding in this sumcheck, what would that do to the overall sum?
|
Re: Sumchecks
The seed would vary the checksum, so you'd need to know the seed to recover. There's a lot of literature on this for beyond-simple implementations.
|
| All times are GMT -5. The time now is 3:23 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC