Skip to main content
added 687 characters in body
Source Link
blabb
  • 16.7k
  • 1
  • 15
  • 30

i did not check the second set did not check the second set

but your first set appears to be xorred by 0x55

0x55 ^ 0x18 == 0x4d (8 bit checksum )

edit

ok my guess was right here is a python script that prints the chksum using the data copy pasted to a text file

infile = open("timepass.txt" , "r")
while True:
    line = infile.readline()
    a = line.split(",")
    sum = 0x0;
    for i in range(0,len(a)-1,1):
        sum = sum + int(a[i],16)
    if not line:
        break
    print hex( ((sum % 0x100) ^ 0x55) ),
infile.close()

here is the result

C:\>python chksum.py
0x18 0x40 0x41 0x43 0x48 0x48 0x49 0x4a 
0x4e 0x68 0x6b 0x70 0x74 0x76 0x78 0x78 
0x2 0x6 0xb 0x12 0x12 0x12 0x13 0x14 
0x17 0x1c 0x1c 0x1d 0x1f 0x2c 0x31 0x33

i did not check the second set

but your first set appears to be xorred by 0x55

0x55 ^ 0x18 == 0x4d (8 bit checksum )

did not check the second set

but your first set appears to be xorred by 0x55

0x55 ^ 0x18 == 0x4d (8 bit checksum )

edit

ok my guess was right here is a python script that prints the chksum using the data copy pasted to a text file

infile = open("timepass.txt" , "r")
while True:
    line = infile.readline()
    a = line.split(",")
    sum = 0x0;
    for i in range(0,len(a)-1,1):
        sum = sum + int(a[i],16)
    if not line:
        break
    print hex( ((sum % 0x100) ^ 0x55) ),
infile.close()

here is the result

C:\>python chksum.py
0x18 0x40 0x41 0x43 0x48 0x48 0x49 0x4a 
0x4e 0x68 0x6b 0x70 0x74 0x76 0x78 0x78 
0x2 0x6 0xb 0x12 0x12 0x12 0x13 0x14 
0x17 0x1c 0x1c 0x1d 0x1f 0x2c 0x31 0x33
Source Link
blabb
  • 16.7k
  • 1
  • 15
  • 30

i did not check the second set

but your first set appears to be xorred by 0x55

0x55 ^ 0x18 == 0x4d (8 bit checksum )