luhn_test, a C++ code which calls luhn(), which demonstrates the calculation and use of the Luhn check digit for error detection.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

luhn, a C++ code which computes the Luhn check digit for a string, and can validate a string.

Source Code:

Last revised on 26 March 2020.