what is luhn
Based on ANSI X4.13, the LUHN formula (also known as the modulus 10 -- or mod 10 -- algorithm) is used to generate and/or validate and verify the accuracy of credit-card numbers. 1  Tweet.