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
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