3 ms·
I've only had one cup of coffee so far, but... The problem would be if the checksum AND the data _both_ became corrupted in a way that the checksum were still
by steveklabnik 13y ago
I've only had one cup of coffee so far, but...
The problem would be if the checksum AND the data _both_ became corrupted in a way that the checksum were still valid. After all, if the checksum were to change, you'd get a failure, and then you could just verify that the data was not actually changed and/or lost. Not to mention that if you stored the checksum in two places, it'd be pretty easy to see that it was the checksum that itself changed.