Примеры
Checksum a tiny three-byte sensor payload
Ввод
039058c6f2c0cb492c533b0a.bin
3 bytes
СкачатьExpected answer
a6a6
Detect a reversed two-byte payload
Ввод
25dfd29c09617dcc9852281c.bin
2 bytes
СкачатьExpected answer
5353
Measure the all-zero blind spot
Ввод
df3f619804a92fdb4057192d.bin
4 bytes
СкачатьExpected answer
0000
See a modulo-15 collision with a zero byte
This small checksum detects some transmission errors; it is not a cryptographic integrity check.
Ввод
dc0e9c3658a1a3ed1ec94274.bin
1 bytes
СкачатьExpected answer
0000
Include the newline in a short serial message
Ввод
a12b7cb43c9d9134b5bb1b35.bin
3 bytes
СкачатьExpected answer
7e7e