I can't comment if CRC will work for your application, but
here is my simpleton answer:
a b c d e
---!---!---!---!---!
65 66 67 68 69
checksum = (65 + 66 + 67 + 68 + 69) MOD 256
This is how the CRC was implemented in XModem....now
you know how many decades i have been around ;)
Cheers
--
Posted from cx801103-a.alsv1.occa.home.com [24.0.216.235]
via Mailgate.ORG Server - http://www.Mailgate.ORG
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *