The option to keep a running 8/16/32-bit total is already there, but those options still operate on individual bytes. e.g: 86 FE B7 21 52 BD 4F 58 is always calculated by adding up the individual bytes ( 86+FE+B7+21+52+BD+4F+58) regardless of whether the final checksum is 8, 16, or 32 bits.
Being able to calculate checksums by word (or dword) would be nice. i.e: 86 FE B7 21 52 BD 4F 58 = 86FE+B721+52BD+4F58
More checksum options
Re: More checksum options
Add Xor-8 as described in "CheckSum8 Xor" on https://www.scadacore.com/tools/program ... alculator/
Add similar Xor-16 and Xor-32, once the exact algorithm is clear, and there is a reference implementation/algorithm.
Add similar Xor-16 and Xor-32, once the exact algorithm is clear, and there is a reference implementation/algorithm.
Re: More checksum options
I often need to compute XOR-8 and XOR-16 checksums over an entire file. The algorithms are as follows:
XOR-8 = byte1 xor byte2 xor byte3 xor ... byteN.
XOR-16 = word1 xor word2 xor word3 xor ... wordN
Would it be possible to add this feature?
XOR-8 = byte1 xor byte2 xor byte3 xor ... byteN.
XOR-16 = word1 xor word2 xor word3 xor ... wordN
Would it be possible to add this feature?