String::CRC32 gives the same result as Digest::CRC:
use String::CRC32; my $crc = crc32( "Hello Word. How are you?" ); printf "%x\n", $crc; #8487fb61
It looks like your C is iffy and it's too long since I did any C (but still not long enough).
In reply to Re: computing CRC32 in Perl and C
by FunkyMonk
in thread computing CRC32 in Perl and C
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |