This seems to produce the result you are after:
print 0xff ^ (sum( map hex,unpack '(a2)*','000181080002020202020202') +& 0xff);; 103
In reply to Re: XOR'ing calculate a hex checksum
by BrowserUk
in thread XOR'ing to calculate a hex checksum
by c4onastick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |