I want to calculate checksum of a string of hexadecimal values such as 040102 answer will 7 in this case and more complex as 0a0110000a3f800
040102
7
0a0110000a3f800