returning correct hash from TransformFinalBlock