Credit Card Validation - Check Digits

  • Thread starter Thread starter mbaig
  • Start date Start date
  • Replies Replies 4
  • Views Views 2K

mbaig

Senior Member
Messages
85
Reaction score
15
A'salaam alaykum ,

Hope this article will be of help to some of the brothers who are in software industry


This article outlines procedures and algorithms for Verifying the accuracy and validity of credit card numbers. Most credit card numbers are encoded with a "Check Digit". A check digit is a digit added to a number (either at the end or the beginning) that validates the authenticity of the number. A simple algorithm is applied to the other digits of the number which yields the check digit. By running the algorithm, and comparing the check digit you get from the algorithm with the check digit encoded with the credit card number, you can verify that you have correctly read all of the digits and that they make a valid combination.



Check out the article:

http://yogeshgarg.blogspot.com/2006/06/credit-card-validation-check-digits.html
 
:sl: In some colleges computing A level courses the students are taught how to gerenrate credit card numbers by their teachers, in computer programming units as practice.
 
:sl: In some colleges computing A level courses the students are taught how to gerenrate credit card numbers by their teachers, in computer programming units as practice.
#

Although, one the numberts are generated you'd need the correct expiry date, issue number (if switch), last three numbers on the back (cvv2 code) and sometimes correct billing address before it works.... not that I've tried.
 

Similar Threads

Back
Top