Examples
Check the published abcde vector
Input
36bbe50ed96841d10443bcb6.bin
5 bytes
DownloadExpected answer
c8f0c8f0
See a checksum change after swapping two bytes
Input
729cccbe0faa58405d46fbd6.bin
5 bytes
DownloadExpected answer
c9f0c9f0
Checksum a PNG signature before reading chunks
Input
4c4b6a3be1314ab86138bef4.bin
8 bytes
DownloadExpected answer
49aa49aa
Preserve a final LF when checking a config line
Input
ef26e60cbbf797c4bbbcc34f.bin
10 bytes
DownloadExpected answer
a6a4a6a4
Checksum the UTF-8 bytes of café
Input
850f7dc43910ff890f8879c0.bin
5 bytes
DownloadExpected answer
da98da98
abcde
Input
abcdeExpected answer
c8f0c8f0
abcdef
Input
abcdefExpected answer
JSON20572057
abcdefgh
Input
abcdefghExpected answer
06270627
The objective of the Fletcher checksum was to provide error-detection properties approaching those of a cyclic redundancy check but with the lower computational effort associated with summation techniques.
Format reference: Fletcher-16 Checksum background and specification