Files related to my CS self study
Sum: 71 Xor: 51 Fletcher: 73 196
./checksum.py -D 136,68,34,17 -c
It can happen when there is only one 1
in a position in all the bytes.
./checksum.py -D 134,129,1,8 -c
Additive checksum will be same for any data set if their summation is same is same. For example
./checksum.py -D 134,129,1,8 -c
./checksum.py -D 131,130,2,9 -c
./checksum.py -D 88,145,37,168 -c
./checksum.py -D 216,149,33,40 -c
In general it can happen if bit flip happens in a complementary way in any two of the bytes.
Fletcher respects the order of the data unlike the other two.
./checksum.py -D 0,1,2,258 -c
./checksum.py -D 0,1,2,3 -c