sha1 for zlib