Fix digest size for sha1