change computeDigest function call name