|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
According to the best information I have, I should be getting 234 (or EA hex) for the string 7AEE840000187A011B80C001001100119103F3267D000000000000FF00000000. Instead I am getting 236 (or EC hex). Converting 7AEE840000187A011B80C001001100119103F3267D000000000000FF00000000 to hex in the online calculator here gives: 37414545383430303030313837413031314238304330303130303131303031313931303346333236374430303030303030303030303046463030303030303030. Calculating the CRC-8 for this hex string in the online calculator here gives 0xec, as per your results with Digest::CRC. So, why do you expect a result of 0xea? HTH, Athanasius <°(((>< contra mundum In reply to Re: Calculating CRC8 using Digest::CRC
by Athanasius
|
|