Computes the check digit for body, the key digits without the check digit.
if body is empty or contains non-digit characters.