On Mon, 4 Jan 1999 14:32:45 -0700 (MST), dscott wrote: >I need to build a CRC utility to generate CRCs for files, folders, and >disks. I have been unable to find any such utility on the CPAN. I found >String::CRC but it needs to be compiled which is more than I was hoping to >do at this point in time. Has anyone built such a utility or know of one? I have written a plain Perl code library file, that can calculate a 32-bit CRC of a string, if that may be of any use. It can easily be adapted to calculate a cumulative CRC over multiple strings, for if the file's too big. I adapted it from some C source code. It gives the same results as the compiled C program (on PC) for the tests that I have done. Of course, it'll be rather slow on large strings, compared to compiled C. Also, note that there are more than one definition of "CRC", so I can't garantee compatibility. I can mail it to you if you want it. That goes for anybody else as well. It's fun to play with. :-) Bart. ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch