script to calculate a SHA1 checksum