|Perl Monk, Perl Meditation|
Re^5: How to use perl digest module to calculate CRC?by BrowserUk (Pope)
|on Mar 21, 2013 at 14:35 UTC||Need Help??|
I'm acting as a transmitter, and I need to calculate the CRC and then send it along with the message.
Okay. But you still need to ensure that you calculate it in the same way that the receiver does; which means you need the full parameterisation of the algorithm used.
What you've supplied so far is not enough information:
The CRC algorithem that I'm using is not standard. P = 1EDC6F41 Init value = FFFFFFFF
Hm. Looks an awful lot like this.
But without the full parameters, this is only guesswork:
Note: You'll probably need $o->digest rather than $o->hexdigest.
NB: But the above will probably fail because it is just guesswork. Also, you'll need to retain the packed data for transmission.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.