The final digit of your credit card number is a check digit, akin to a checksum. The algorithm used to arrive at the proper check digit is called the Luhn
This code sample demonstrates the algorithm for validating a credit card number. Almost all credit card companies use the same method for generating card
25 Aug 2006 Uses the Luhn formula to quickly validate a credit card . Basically all the digits except for the last one are summed together and the output
12 Apr 2007 What do the credit card numbers mean and how are they generated? In 1954, Hans Luhn of IBM proposed an algorithm to be used as a validity It should also be noted that, this validation is usually employed at the