fix Fletcher-32/64 Checksum

* Operate on words, not bytes
* Add tests
This commit is contained in:
MikeCAT 2022-11-02 21:54:45 +09:00
parent ed8bd34915
commit 5b134d7e9e
5 changed files with 137 additions and 8 deletions

View file

@ -58,8 +58,8 @@ CTPH: A:E:E
Checksums:
Fletcher-8: 3d
Fletcher-16: 5dc1
Fletcher-32: 045901c0
Fletcher-64: 00000459000001c0
Fletcher-32: 3f5cd9e7
Fletcher-64: 7473657474736574
Adler-32: 045d01c1
CRC-8: b9
CRC-16: f82e