ComputeHash: bug fix