You need to pack your ascii-ised hex to binary:
use Digest::CRC;; $ctx = Digest::CRC->new(type=>"crc32");; print $ctx->add( pack 'H*', '50020301' )->hexdigest;; b5e76785
In reply to Re: Digest::CRC hexdigest not working?
by BrowserUk
in thread Digest::CRC hexdigest not working?
by morphyno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |