Implementation of the 'Verhoeff' Check Digit Algorithm
An implementation of the 'Verhoeff' algorithm for calculating
check digits (Verhoeff, J. (1969) ).
Functions are provided to calculate a check digit given an input number,
calculate and append a check digit to an input number, and validate that a
check digit is correct given an input number.