8051Enthusiast / delsum

A reverse engineer's checksum toolbox
MIT License
138 stars 6 forks source link

4Bit checksum possible? #5

Closed dottoreD closed 2 years ago

dottoreD commented 2 years ago

It is more a question than an issue, but I haven't found that information. Interpretation of that output

./delsum reverse -m 'crc width=4' -c E,D,8 file_a file_b file_c

Could not read checksums: Odd number of digits

makes me believe that it isn't at the moment.

Second in README.md it is given this example of part:

$ delsum check -m 'modsum width=16 module=ffff' -c 1234,5678,abcd file_a file_b file_c
modsum width=16 module=ffff:
    0x8:-0x3

I think the code should be: $ delsum **part** -m 'modsum width=16 module=ffff' -c 1234,5678,abcd file_a file_b file_c

The same is for reverse where it is written:

$ delsum check -m 'crc width=32' -c 700b14f5,e1207917,79741cb2 file_a file_b file_c

8051Enthusiast commented 2 years ago

Thanks for pointing out the documentation issues, i fixed them.

Regarding the 4-bit checksums, try putting a zero before it so you have 0E,0D,08. I know it's a bit silly and i will probably fix it some time in the future.