For the application we are working on, I need to generate credit card samples that transmit the Moon algorithm, but which are also unique, so we cannot use examples of credit card numbers.
We should be able to generate about 300 card numbers at a time, and ideally I would be able to do this when creating my input.
Many thanks
Create random numbers, then count the checksum number.
Wikipedia - Luhn, , .
, , , 0 (mod 10). , ( , ), , , .
№ ? .. VISA, MasterCard AMEX ..
, , Graham King, .
The latest version of the Graham King generator (including C # code) can be found on GitHub .
I took the code from Graham Kings website and ported it to C #, also sending a copy to Graham by email, you can find it here link text
If you need a list to check each card, you will find it here. How to test interaction with credit cards?