Hash::MD5 will calculate the hash for you.
In reply to Re: Compare Binary Files by morgon in thread Compare Binary Files by drodinthe559