SHA1 hash incorrect