Every wondered how credit card companies validate the cards? I mean there has to be an algorithm that quickly can validate a credit card number? Many a times I have seen if I enter gibberish numbers on web checkout forms where credit card numbers are required, it will instantly let me know that the card numbers are not valid. How does it know? Well wonder no more… The good folks at Mint.com tell us how.