A utility to compute SHA1 on parts of a file