luhn_test, a C++ code which calls luhn(), which demonstrates the calculation and use of the Luhn check digit for error detection.
The information on this web page is distributed under the MIT license.
luhn, a C++ code which computes the Luhn check digit for a string, and can validate a string.