CRC32 Script
CRC32 is a hash of a stream of data. It can be (and most often is) used to verify that a file that you downloaded or recieved is not corrupt. This is done by comparing it with the original CRC from the person who created the file.
Tagging files with the CRC32 sum in the filename is common practice in the anime community. As an anime fan who doesn't like to delete stuff, I like to make sure my archive only contains valid files. Using windows, I recommend a program called RapidCRC. I wrote the following perl script because I wanted to be able to check the integrity of the files on my desktop, which runs Linux. I started with just something to do a single file at a time, but I also wanted something for doing a "batch" hash-and-check too. Outputting the result to a file was also important.
The only drawback to my script is that it is slow at hashing compared to something like RapidCRC. I assume that it has something to do with the CRC32 algorithm being implemented in perl, rather than nativly. For a few episodes it doesn't take long at all, but if you want to scan 150gb (or more) worth of files, expect it to run for awhile.
My script can be found here and has a CRC32 sum of EB8999BB (validate it with itself :p).
