fix sha1 for long strings
update minified sha1