Eli Fulkerson .com HomeProjectsPython-creditcard-mod10-check

Python Credit Card Mod10 Check


This is a small python script that contains logic for checking or generating valid (or invalid) credit card numbers. This script is (for instance) intended for people doing data validation for e-commerce applications. It includes the following functions:

Note: Passing mod10 doesn't mean that a card number really exists out in the world: this is *not* a program for would be credit card thieves. For instance, there isn't any way to autogenerate valid names, billing information, or CSV codes. So don't ask.