Perl interface for cyclic redundancy check generation