luhn_code_test, a C++ code which calls luhn_code(), 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_code, a C++ code which computes the Luhn check digit for a string, and can validate a string.