calculate payload sha1