Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Gare
· 2y ago · 0 comments
Add checksum and discard corrupted message?
Comments
[–]
fourneau
2y ago
This is the cleanest solution, IMO, rather than having to check each word/key/whatever of your protocol.
[–]
mapcars
2y ago
Depending on how the message is changed you might not be able to trust the checksum as well
[–]
heinrich5991
2y ago
A checksum is usually intended not to match if the checksum itself is corrupted.