Reusable C implementation of the FUTEK weighted additive 8-bit checksum.
include/checksum_futek.hsrc/checksum_futek.cexamples/main.c
| Parameter | Value |
|---|---|
| Name | Checksum/FUTEK |
| Type | Weighted additive checksum |
| Output Width | 8-bit |
| Final Mask | 0xFF |
| Input Length | Variable |
| Weighting | Byte index + 1 |
Checksum = Σ(byte[index] × (index + 1)) & 0xFF