Validation of Credit Card Numbers Using the C# Programming Language.


  • Bright Selorm Kodzo Anibrika



The validation of credit card numbers allows us to check the authenticity of the credit card number in question or whether that credit card is valid or not for electronic transactions purposes. The most popular algorithm used for credit card number validation is called the Luhn algorithm or MOD (Modulus) 10 algorithms named after its inventor, IBM scientist Hans Peter Luhn. The Luhn algorithm popularly known as MOD 10 algorithm is a simple checksum formula designed to protect against accidental errors that normally occur number generation systems and for malicious attacks. Most credit card companies and governmental identification numbers use the algorithm as a simple method of distinguishing valid numbers from collections of random digits. It is not also intended to be a cryptographically secure hash function. It is also used to validate a variety of identification numbers such as credit card numbers, IMEI numbers, National Provider Identifier numbers in US and Canadian Social Insurance numbers. This takes a look at the Luhn algorithm or MOD 10 algorithm and its implementation in a suitable programming language called the C# programming language. The C# credit card validation programming also offers a graphical interface to give the user ‘A user-friendly’ experience. It is intended to be a simple, modern, general-purpose, object-oriented,programinglanguage.


Download data is not yet available.




How to Cite

Anibrika, B. S. K. (2014). Validation of Credit Card Numbers Using the C# Programming Language. ADRRI Journal (Multidisciplinary), 10(10).