jburkardt

LUHN\ Luhn Check Digit for Error Detection {#luhn-luhn-check-digit-for-error-detection align=”center”} ====================================


LUHN is a C++ library which demonstrates the calculation and use of the Luhn check digit for error detection.

Licensing: {#licensing align=”center”}

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

Languages: {#languages align=”center”}

LUHN is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

BANK, a C++ library which can compute the check digit associated with a US Bank Routing Number check digit, or it can report whether a 9-digit code is actually valid.

ISBN, a C++ library which can determine the check digit for an International Standard Book Number or report whether a given ISBN is valid.

UPC, a C++ library which can determine the check digit for a Uniform Product Code (UPC) or report whether a given UPC is valid.

Source Code: {#source-code align=”center”}

Examples and Tests: {#examples-and-tests align=”center”}

List of Routines: {#list-of-routines align=”center”}

You can go up one level to the C++ source codes.


Last revised on 11 September 2015.