use shasum/sha1sum to generate sha-1 hash