I
Imran
Hello all
I am trying to calculate a checksum correction for 16 byte checksum
calculation.
I have 1 lines of data
xxxxxxxxyyyyyyyy80804C0400004204UUUUUUUU
What I am trying to achive is to find a right UUUUUUUU
value so that when I reclaculate the checksum of whole
line, it should be yyyyyyyy.
My tried / failed algoritham is as follows
int final_cks(UUUUUUUU) = xxxxxxxx + 8080+4C04+0000+4204 - yyyyyyyy
i will patch this final_cks to UUUUUUUU, then i re-calculate the checksum
again,
int final_cks= xxxxxxxx + 8080+4C04+0000+4204 +UUUU+UUUU
it should be equal to yyyyyyyy
Any sugg?
Thank you
I am trying to calculate a checksum correction for 16 byte checksum
calculation.
I have 1 lines of data
xxxxxxxxyyyyyyyy80804C0400004204UUUUUUUU
What I am trying to achive is to find a right UUUUUUUU
value so that when I reclaculate the checksum of whole
line, it should be yyyyyyyy.
My tried / failed algoritham is as follows
int final_cks(UUUUUUUU) = xxxxxxxx + 8080+4C04+0000+4204 - yyyyyyyy
i will patch this final_cks to UUUUUUUU, then i re-calculate the checksum
again,
int final_cks= xxxxxxxx + 8080+4C04+0000+4204 +UUUU+UUUU
it should be equal to yyyyyyyy
Any sugg?
Thank you