Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The Luhn mod N
algorithm is an extension to the Luhn algorithm (also known as mod 10
algorithm) that allows it to work with sequences of non-numeric
characters. This can be useful when a check digit is required to
validate an identification string composed of letters, a combination of
letters and digits or even any arbitrary set of characters.The Luhn mod
N algorithm generates a check digit (more precisely, a check character)
within the same range of valid characters as the input string. For
example, if the algorithm is applied to a string of lower-case letters
(a to z), the check character will also be a lower-case letter. Apart
from this distinction, it resembles very closely the original algorithm.