This is How Credit Card Numbers Are Generated I was reading an
article today in one of my favorite publications about how to
get free trials without actually using your credit card by
generating valid credit card numbers using a simple algorithm
called the Luhn check. So I wrote a little script that generates
credit card numbers that will be deemed valid by most software
checks. This will work because the service won’t know that the
credit card is invalid until they actually try to charge it.
Well, the card may be valid since my script uses random numbers.
Obviously this if for informational purposes only and should
never actually be used. Most credit card numbers are validated
using an algorithm called the “Luhn check”. This is a very
simple algorithm that doubles the odd digits and does a sum to
see if the number is divisible by 10. The credit card companies
use a slightly different version that involves a check digit as
the last digit. To generate a credit card number that will pass
most validation softwar