Helper classes to calculate and validate checkdigits