What algorithm to use to calculate a check digit for a list of digits? The length of the list is between 8 and 12 digits.
see also: How to generate a verification code/number?
The Luhn algorithm is good enough for the credit card industry...