Credit card generator

If you just need a bunch of numbers use the online credit card number generator.

Python, Java, C#, PHP and Javascript programs to generate valid credit card numbers (MOD 10). Useful for testing payment systems. This generates VISA, Mastercard, Amex, and a whole bunch of others.

Get them from darkcoding-credit-card on github, or Download (zip) all versions.

If you want to go one step further and generate a whole test identity, try the Fake Name Generator. It makes use of this credit card generator, and adds a lot of other identity data.

Note: This will only be useful to you if you know how to run a program in Python, Java, C#, PHP or Javascript. No, you cannot use this to get free things.

88 Comments

  1. Jimoh Ahmed Adetunji said,

    January 27, 2010 at 23:45

    Iam from Nigeria and I am one of the tanlented youths that is living in poverty please send me confirm and Authentic Master credit card with the amount i can use sustain my life coz I am finding it deficult with my education and i have nobody to help me please save my life coz with out money I will drop out of school please I need this urgently

  2. Bob Barker said,

    January 11, 2010 at 14:46

    Very much thanks to the magic numbers. I used many cagillions to feed the poor.

  3. david said,

    November 13, 2009 at 19:50

    hey i am but a little boy who likes to play on the computer and needs a credit card

    can u send me a number with all additional info

    i will give u a cookie

  4. Cody Taylor said,

    November 13, 2009 at 19:42

    Great Comments. I really got a laugh out of those. After your comment on my post (http://codytaylor.org/2009/11/this-is-how-credit-card-numbers-are-generated.html) I was hoping to get some similar crazies. No go though.

    Binarysupremacy !!!!!!!!!!!!!

  5. Mike said,

    November 1, 2009 at 16:51

    Very amusing comments indeed, but all kidding aside, what is the practical use of randomly generated credit card numbers? In order to actually do anything at all, for example age verification on a “free” porn site, wouldn’t at least the basic info on a card need to be verified? (Date of birth, mailing address, etc.)

  6. Fer00m said,

    October 27, 2009 at 15:38

    Supreme Commander 1, do you have anything agaist Poland? :P

  7. Pawel.k said,

    October 26, 2009 at 23:57

    I want to be a profesional foerx trader Help Me Thank You

  8. Terran against Zerg said,

    October 26, 2009 at 10:26

    thank you very much mon senior. Za credit card numbaz are workeeng fine for me. I am very proud owner of new labtop called Acer Aspiron 5516. I buy it online and it come today thank yuh thank yuh. I will spread the good newz to all whu cen here it. dank you again moniseur. arigatou.

    Kidding. I hate typing horrible, It’s hard! Meh. Thanks for luring me into trying out one of these things, the police interrogation was really fricking fun. It’s my fault for falling for this, and I hope that no-one else does. BTW, I did try buying an Acer Aspiron 5516 Labtop.

    I WILL KILL THE ZERG!

  9. Deathdrummer said,

    October 11, 2009 at 13:36

    Haha, whats up with these comments? well great reading to be honest :)

    Keep’em comming!

  10. Supreme Leader 1 said,

    October 2, 2009 at 23:50

    Step 1 use fake credit card details to procure an atlas from ebay…

    Step 2 invade a country starting with the letter P and rhyming with Roland…

    Binarysupremacy !!!!!!!!!!!!!

  11. jaffer said,

    September 24, 2009 at 13:36

    please i beg you please,i want to be a professional footballer for that i want to buy a kit but my father doesnt help me in buying these they are not allowing me so please give me a credit card number with just 500 uk pounds on it plz plz plz iwant it immediately please help me plzzzzzzzzzz

  12. Duck Phong Pang said,

    September 23, 2009 at 09:36

    I is duck phong I lovine ausia and love your credits. please sond me credits so I can bring my daughter wedding, I am so pleased for you to be son in law. We eat fish and paper for meat. No one camplains when dreams remake. I need some credid for daughter so she can marey waiter from restauront. Ples send some coins for she and we make happy like you. Thankyu please.

  13. jacody said,

    September 22, 2009 at 20:30

    wow, these are some really weird comments here.Are most of the comments staged or something?

  14. Frank said,

    September 6, 2009 at 22:11

    Hey, I was in Vegas, partied hard, drank hard and gambled very hard, woke up this morning married to a green two-headed woman, I need $200k for a divorce. Please send me a creditcard number to cover that (ASAP).

  15. Megatron said,

    September 6, 2009 at 00:18

    The auto bots are winning. If you were to help us we could have a chance.

  16. Lashizky Rinkleton said,

    August 26, 2009 at 00:08

    Hello again, my lovely fat friend. I would like to thank you again for that twenty thousand on that credit card.. Ive never really gotten a gift like that before, and it made me cry so much, until i went and spent it all on crack. anyways thank you so much…

    I gotta run, my hoes be getting impatient.

    P.s. Thanks for the hoes.

  17. brittany said,

    August 16, 2009 at 15:47

    Dudes, i am only a 13 year old girl, and i learned every thing bout this, i have a number, but i dont use it b/c i tink is tis illegal, and if my mom found out id be in big trouble!!!! i just learned for the fun of it

  18. Kurtis Elxer said,

    August 13, 2009 at 19:59

    i wanted to buy magic powers but the card bounced.

    you ruined my life!!!!!

  19. kieran palmer said,

    August 5, 2009 at 08:04

    please i am begging you….i am on a training camp….and i need a credit card to buy the kit online….please, when i get older and i am a professional footballer, i wil send you a 1/3 portion of my paycheck.

    Cheers!! :)

  20. ConfusedMind said,

    July 25, 2009 at 11:01

    Is it just me or the comments? They are very bizarre. What are those comments talking about?

  21. KIEL said,

    July 12, 2009 at 07:52

    pls i want to be a singer pls…

    im good at singing..

  22. Uncle Same said,

    June 29, 2009 at 06:38

    Hey, it’s me your old uncle Sam. Now that everyone lost their minds and voted in a socialist, I’ve racked up quite a bit of debt. I’m about to go bankrupt, and I think Ron Paul wants to shoot me. I need protection and a lot of money. Can you give me a creidt card with about eight trillion dollars on it?

  23. Sui Chan said,

    June 14, 2009 at 03:59

    Sui eat sushi yum yum

  24. Master Cheif said,

    June 11, 2009 at 07:30

    Hi

    After i tried to stop the Aliens from taking over the earth i tripped into a metal box seen on crows nest. my helmet was in bad shape at the time when it all happen and thanks to the fake credit card i was able to fix my ugly duck face

  25. Bob Saget said,

    June 9, 2009 at 15:39

    Hi, i have been in terrible physique ever since i fell down a flight of stairs into my 80 litre jar of cheese whiz, i could not breathe and i turned purple, the problem was one of the chemicals in thecheese whiz i was allergic to and there for my face never returned to its normal state… my dog had to lick me out. I know that this is a hard to believe story but trust me i need the money so i can get a face change… like michael jackson

    if you believe me .. give me money … and i will blow you.

  26. jhonny roten said,

    June 8, 2009 at 04:09

    hey this is a crazy crazy thing , this idea, this thing called math!!! i suck at math 1actually im scared to death of it 1 i dont understand its to power. the knowledge that can one could attain from simple mathmatical theroys. any ways ican not figure out your mod10 formula so if you could give me a hand in understanding it better i would appreciate it a great deal.

                                                              thankx
                                                           jhonnyroten
    
  27. rakhan said,

    June 7, 2009 at 06:59

    hello! are you wery good? please give me crrect credit carts, i work hard (m a prosutututute) and i will offer my servces to u too if u do give me moneyfull credit card. ı work hard, please give me or i will commit suisaed.

  28. phuck said,

    June 1, 2009 at 19:31

    me name is phuck. i live in small tent. in asia. i cook chicken to eat food and water drink i dont like people alot

  29. ABRAHM said,

    April 22, 2009 at 12:09

    PLS I NEED A CREDIT CARD DETAILS TO START MY FOREX TRADING ONLINE,I TRAINED MY SELF BUT I DON’T HAVE THE START UP CAPITAL.even if i can just get a $100 from it,i would be gratefull.PLS I NEED IT URGENTLY

  30. Envy Klien said,

    April 15, 2009 at 16:45

    i need tou to generate a credit card number and mail ti to me please because i have a contract which involes money and i dont have so am counting on you

  31. Sadiq said,

    April 12, 2009 at 13:15

    hello… my name Sadiq.. i live in Ghana in west africa…even i am crying when i am writing this lettre. if i spell wrong,sorry. i stop education..i am poor very!! i have osgood schlatter disease on below the knee..it painfull very! i beg you please to send me credit card namber so that i can buy oscon drug and a knee pad and also or you buy drug and send to my email i make today. it diqy123@hotmail.com as for my education, i work hard on the street for that and get money for education. if you help me God will bless you much very. bye bye bye..

  32. kolawole said,

    April 11, 2009 at 20:15

    pls i want to work in your company bill gate

  33. William Gates said,

    April 5, 2009 at 08:51

    Wow this is great for testing I used it for I.E. 8 now i can be 100% certain that it is valid for the public to use. Please download I.E. 8 as your credit card information will be safer now then ever !!

                                                                            Bill Gates
                                                                           majority stockholder
    
  34. RAFAEL CARTWRIGHT said,

    March 19, 2009 at 17:19

    HI,SIR IM A POOR BOY WHO NEEDS $350.00 IN CASH IF YOU CAN BECAUSE IM GETTIN SUSPENDED ALOT AND I WANNA GO TO A PRIVATE SCHOOL AND IT COST $350.00 SO IM BEGGIN YOU PLEASE SEND IT AT 5200 N.E 5TH TERRECE APARTMENT 13

    SINCERLY,RAFAEL

  35. Keaton Rondelli said,

    March 19, 2009 at 08:44

    hello there, my name is keaton, i want to add one of my stories on here, maybe you will give me a credit card, oh wait, i dont want one because that is fucking stupid, dude, i got into a lot of shit from faking credit card numbers, po po can search your ip adress on you computer, anyways send me a gift card for itunes, that would be rad, or just a lot of cash, im not going to stop hunger or help anyone really, just get some weed for my and my friends, and stop our hunger with that money to get some taco bell. i just want music and money for, drugs, food, drugs, blunt papers, drugs, alchohol, drugs, and a birthday cake… and some drugs would be nice. everyone else has a sad story of why they need money. i dont really have one…. but this one time when i was younger i got to meet one of the power rangers, i asked him if i could be the green one and he told me i would have to do a special job for him first, i about said ok right before he was arrested in the middle of toys r us. he was sent to prison for charges of molestation and shit like that, damn he was a petofile, how lame. im still not the green ranger. true story, funny as shit, but then i started smoking weed and it all seems clear now, im going to be the green ranger someday, with a costume with a big ganj leaf on the front, and i will beat my enemies by blowing large clouds of bud smoke at them getting them high in a daze and robbing them for drugs, munch money, porn, and drugs… or you could put that on hold and send me drugs, or just some cash,or an itunes card so i can get some music man, or you know…… drugs……

                       - dueces!
    
  36. Exiled sultan said,

    February 6, 2009 at 14:45

    I am Abu Dahil, a rich son of a sultan. However, my father’s enemies had him thrown out of rule, so now I am on the run. My father’s accountant told me that I needed 2,000 dollars to access my father’s massive bank account, so I need a working credit card. You can have 20% of the share. Please send me some working credit card numbers.

    That would be funny. Can’t believe people use hilarious excuses like feeding babies. Oh, and note the Yes Man reference.

  37. John Owusu said,

    January 12, 2009 at 09:28

    Hi Sir,

     I'm a poor boy from Africa with Six children to a single family.
    

    Actualy my family is broken apart and because of that all my sisters are at home.That’s they couldn’t complete their education because porverty.Please read this mail and send me CC number with some enougth money and thatit’s valid password so that I can assist my family,more espercialy my sisters education.I hope you will turn this down and you let me hear from you. Thanks alot!!!

                                             John
    
  38. James said,

    January 1, 2009 at 00:49

    http://www.bsdhosting.co.za/~jamesw/gencc-perl.tgz <- perl version of gencc

  39. James said,

    December 31, 2008 at 22:45

    no perl version?

  40. Isaac said,

    November 30, 2008 at 18:27

    hello!!! My name is Isaac, I am 23 years old, I am student, and I live in Tema in Ghana (West Africa), I am really impressed by your ingeniousness. You developed simple and practical methods which enable you to obtain credit cards valid numbers and still in activity. I am really very interested by your last discoveries, I want to be your friend, I want to profit of your expertism in this field, I ask you to agree to send your methods to me, failing this to send to me some valid numbers . Still cheer!!! i need some of credit card number and Thank you!!!

  41. Nnamdi said,

    November 13, 2008 at 22:54

    yo waz up pple see i got this cool site i just uploaded my pic and all the girls are like whoa whos this handsome guy they send me messages but i cant reply them cause i got non credit card do me a favour tell me in simple english how to generate free credit card nos. thanks. Nd boy from NIGERIA.

  42. one eyes said,

    October 27, 2008 at 23:37

    how do i use this or get a credit card with ltos of money? can you give me one.

    My sad story is that one day when i was 6 my parents were going to chucky cheese the best ice cream store in the hood. My parents were halfway there when i looked out the window and bam wam JAMM i saw they got arrested for attacking Chucky the ice mouse. My goal is to get a domain name for them in there honor so i need your help! can you help find carmen? CARMEN SAN DIEGO! help us out at …@…non existance so please give us money for that one eye we are missing and we will be very happy

    PWEETTYYY PLEEASSE

  43. naggers said,

    October 7, 2008 at 17:48

    credit cards are lame, i just keep my thousands of dollars under my matress like normal people should!!

  44. Spindle said,

    September 2, 2008 at 07:22

    I love reading through these comments, man the spam ones make me laugh so friggin much, especially the Drug Dealer one, I have no clue how to use this stuff to my advantage, so I’m just leaving my own form of spam here :P

  45. Jovanhovan said,

    June 25, 2008 at 14:16

    Hello mister, I am a fantic plazer of the best world game World of Warcraft, I play it so I don’t have to talk to people, I am homophobic, thats right I am afraid of people and can only talk to them if I see them as fantasy creatures. So anyway, please give me a credit card with lots of money so I can pay subscription fee, I got no money because my parents went to a business trip to Japan and they never came back

  46. rob said,

    April 26, 2008 at 19:44

    man i gotta tell this is probably the most intelligent thing i’ve read or seen since the movie endgame. I like your method of finding numbers and by the way for the first example the check number should be 4 thanks man this was intertaing

  47. Jar said,

    April 22, 2008 at 11:38

    Thanks, the laser eye surgery was success and they did not know this was fake number even.

  48. lekan said,

    March 29, 2008 at 14:19

    hello!!! you are well?! My name is lekan, I am 23 years old, I am student, and I live inlagos in inigeria (West Africa), I am reall ylike your ingeniousness. You created simple and practical methods which enable you to obtain credit cards valid numbers and still in activity. I am really very interested by your last discoveries, I want to be your friend, I want to profit of your expert in this field, I ask you to agree to send your methods to me, failing this to send to me some valid numbers .thanks

  49. tsikata joshua said,

    March 26, 2008 at 15:43

    Thanks for posting this (and your previous mod10 validator). It provided the basis of a credit card validator and also a few mock numbers for testing for a reasonably busy Java based e-commerce site that I worked on last year.

    It also used to be incredibly amusing reading all the begging letters for a valid number, especially the ones with justifications like above (school you say!) I never understood why people didn’t realise that a number that obeys mod10 does not suddenly give you a credit card account. There’s lots of obvious (and also some subtle) bits and pieices missing so a wannabe skiddie is never going to get very far armed with just an algorithm and a load of not so random numbers.

    Thanks again.

  50. Graziella said,

    March 5, 2008 at 16:00

    it works.thanks now i can go back to school

  51. Paul said,

    February 24, 2008 at 06:39

    o hai. im mai ownerz kat anD i nede monies to bye eztraz catnip?! thanks!

    Haha…that would fit in perfectly here. I admire you for not ceasing comments; I would have by now =P

    EDIT: I dislike your spam protection. It asked “one + two” so I entered “three” which is apparently wrong..I know now it was supposed to be “3″, but I figured it wanted it spelled out because it spelled it out..

  52. Romeyo said,

    February 23, 2008 at 02:01

    Hello,

    I used a generated card from this site to buy a condom but it didn’t work (the condom I mean). Now I can’t sue the company cause I can’t prove that I paid for it. What’ll do I do with this baby? His mother left him in the trunk of my car. Can I send it to you?

  53. tell a friend script said,

    January 18, 2008 at 08:39

    It also used to be incredibly amusing reading all the begging letters for a valid number, especially the ones with justifications like above (school you say!) I never understood why people didn’t realise that a number that obeys mod10 does not suddenly give you a credit card account.

  54. Alien said,

    December 12, 2007 at 06:32

    hello! i am an alien and my ship runned out of gas. as its runs on diamonds, i need a credit card with an huge amount of money of some rich terrestrian so i can go back to my planet and spent all in drugs and alcohol and helping little child aliens. please help me.

  55. adam sdfihk said,

    October 27, 2007 at 17:45

    does it work with a mac???

  56. Kevin said,

    October 9, 2007 at 23:42

    I am not gonna lie, I took my parents camaro out for a drive, not insured for me and I blew the clutch..Im broke and if I dont get that repaired by the time they get back from vacation im beyond dead. So i need the hook ups or else im dead please.

  57. techno17 said,

    August 16, 2007 at 15:05

    hello!!! you are well?! My name is Patrick, I am 23 years old, I am student, and I live in Abidjan in ivory coast (West Africa), I am really impressed by your ingeniousness. You developed simple and practical methods which enable you to obtain credit cards valid numbers and still in activity. I am really very interested by your last discoveries, I want to be your friend, I want to profit of your expertism in this field, I ask you to agree to send your methods to me, failing this to send to me some valid numbers . Still cheer!!! and Thank you!!!

  58. Nick said,

    June 20, 2007 at 18:55

    This script has been very helpful. I know how to create cards as I have to validate them inside of my program, but I always appreciate something that can do the work for me. It’s not lazy, it’s efficient! Thank you very much for saving me time which I will now use to further test my program.

  59. Peter said,

    April 9, 2007 at 13:56

    Thanks – this makes the PayPal sandbox a little easier, still pretty hellish, but a little easier.

    PS Spam protection device v. ingenious, also should defeat some of your users.

  60. lewis said,

    March 26, 2007 at 17:59

    Excellent job, i personally think it is really sad that people are asking you for money but excellent job helped me fix my eCart

  61. Erik Sorenson said,

    March 15, 2007 at 13:17

    Hello Graham :) I’m programming an ordering application for a shirt company for a programming project in my high school. This is my first year programming, but my teacher thinks I’m a genius, and encourages and “nudges” me to go above and beyond what we’re coding.

    The application we’re designing is for an operator for the company to put in information as they get it over the phone. And since it’s ordering over the phone, a valid credit card number is required. So, I plan to work the credit card generator and validator in, somehow. Unfortunately I only know Visual (“bloody” as Drei Viertel said) Basic, but I know Javascript so I can probably convert it.

    Good luck! Erik

  62. richardsmith said,

    February 8, 2007 at 14:45

    Hello Am richard please i need your help i want to drive hunger from the people living around me cos there ar many children which aredieing of hunger in my community so i need to help them pls i need a complete credit card with all the information of the card complete cos i need to supply food for this children cos they are the leaders of tommorow thanks

  63. daniela said,

    February 8, 2007 at 14:32

    Hi Am daniela pls i need a credit card for an important thing i volontiaed to get new cloths for all the motherless babies aroundme and i dont have enough money to do that so i need a good and geniew card so that i can use it to shop cloths for the babies

    thanks

  64. drugdealer said,

    January 29, 2007 at 01:58

    hi i’m a local drug dealer from the projects near you. I need to pay 13,500 USD within 2 days or they gun me down. PLEASE HELP! if you give me money ill shoot anyone you want!

    P.S.: Could you also write a fake “NAME” and “ADRESS” generator?

    any hot studs in here holla at me! BLOODZ4EVER

  65. Graham said,

    December 13, 2006 at 12:20

    WOW my name is graham also

  66. Rob said,

    November 20, 2006 at 00:29

    Very goood script, thanks

  67. Ivan(CityTV – BG) said,

    November 7, 2006 at 14:09

    I like this website veeeeery much. I’ll use this info… :)

  68. Salma said,

    November 7, 2006 at 09:19

    I love the King

  69. ronny said,

    September 22, 2006 at 06:08

    I like very much this website!!!!!!!!!!!!!!!!!!!!!!!!!!! AWESOME

  70. Raj said,

    July 7, 2006 at 16:04

    Thanks for posting this (and your previous mod10 validator). It provided the basis of a credit card validator and also a few mock numbers for testing for a reasonably busy Java based e-commerce site that I worked on last year.

    I m thankfull to the website owner.

  71. Billy Graham said,

    May 14, 2006 at 03:07

    Thank you so much!!

  72. jerome nicholas said,

    April 20, 2006 at 22:18

    Thanks alot it really helped my shopping cart project

  73. Rapha-el said,

    April 14, 2006 at 23:31

    Sheesh! Sometimes. Just sometimes. A little less mathematics and a little more English no matter how complicated works much better. Well ill work on figuring all this pluses and decimals out . Thanks anyway.

  74. Clement said,

    April 12, 2006 at 17:11

    thank you very much

  75. Babalola Idowu said,

    April 10, 2006 at 13:39

    Intersting web site. and good discovery

  76. killer code said,

    April 5, 2006 at 18:35

    um…..i still dont get how to use it….. i smoke to much weed and my brain is a mush… can some one tell me an easyer way of doing all of this :D

  77. R said,

    April 5, 2006 at 15:47

    lol so should you be called “Graham Cracker”

  78. Billy said,

    March 26, 2006 at 20:10

    Hi there,

    First I’d like to point out the Google Answers disclaimer on the bottom of the page, and remind you that most of the following information that was found is strictly to be used for educational purposes.

    The CVV (Card Verification Value) is a sequence of digits constructed by cryptographic process and written to the magnetic stripe of the card. Data such as card number, the expiration date and the service code is triple encrypted using a special Card Verification key pair, and selected digits from the results are used to create the CVV. The algorithm used in the calculation is similar to that of PIN encryption. For information on how these cards are encrypted, please refer to: http://www.amarshall.com/crypt101.html

    Specifically, CVC (card verification code) and CVV (card verification value) are encrypted using the Triple DES system. The Triple DES used for CVC and CVV uses two single length Keys such that the first Key encrypts data, the second Key decrypts the results of that encryption, and the first Key encrypts the results of the description. For details on the use of DES and 3DES in financial institutions, please refer to the following white paper. http://www.pulse-eft.com/upload/EncryptionKeyWhitePaper4_2003.pdf

    For a visual representation of how the encryption works please take a look at: http://www.maxlin.ca/tos/ga/3des.jpg

    Since PIN encryption uses same/similar system, here’s a sample excerpt to provide you with a better understanding of how it works: ** The PIN (Personal Identification Number) is basically encrypted as follows. The card number is taken as an hexadecimal number and is encrypted with the DES algorithm using a secret key, which is called the “PIN key”. The first four digits are decimalized (i.e., A = 0, B = 1, …) and are called the “natural PIN”. An offset is added (without carry) to the natural PIN in order to obtain the customer PIN. The customer PIN may be changed but the natural PIN cannot. The offset is what is written in track 3 and I called the “encrypted PIN”. Here you have an example:

    Card number: 1234567890123445hex input for DES. PIN key: 0123456789ABCDEFhex key for DES. Encrypted card number: 9A466AD30DFE0381hex output from DES. Natural PIN: 9046. Offset: 2298 (this number is written on track 3). Customer PIN: 1234. ** The author also recommends the following links:

    Breaking the Visa PIN http://www.gae.ucm.es/~padilla/extrawork/visapvv.html

    Original Visa Scheme http://axion.physics.ubc.ca/atm.html

    Discussion on other systems http://www.gae.ucm.es/~padilla/extrawork/magnews.txt

    The CVV, however, is still only an additional security; it is not fool proof. Even systems with much higher security, the 96-digit enryption algorithm, was cracked by hackers and posted on the internet in the past. http://www.computeruser.com/newstoday/00/03/11/news4.html

    [graham] Wow! Thanks a lot for this Billy / tm1. Good stuff indeed.

  79. Darnell said,

    February 20, 2006 at 22:23

    The purpose of this script is for software developers to create test-data for their online stores. It is not so you can generate credit card numbers to actually run transactions with. So, all you wanna-be thieves saying this script is useless, that doesn’t mean much coming from a useless person such as yourself.

    And andris bardan, aren’t you just a little smarty smart-tard. Look at you using your cute little brain! I’m using this script to generate fake credit card numbers for an encryption scheme I’m testing. I need these numbers in the thousands. So, this script is useful to some people. It takes the coding/testing/debugging time out of the equation for some of us who have legitimate reasons for generating lots of fake credit card numbers.

    And Thanks Graham King. The PHP version of this script will save me a lot of time, and make it so I don’t have to handle any real credit card data to get my new module working.

    -Darnell

  80. Some Guy said,

    February 17, 2006 at 08:08

    Surely there must be someone on this website, who is capable of using the english language properly.

  81. ho fung said,

    January 15, 2006 at 20:01

    yes the program works but it is still useless without a exp dates and ccv2/cvc2 numbers

  82. andris bardan said,

    January 10, 2006 at 05:52

    i can do the cpoputing in my mind to generate a c card so why do i need this stupid program 1234 5678 9123 456x 2+4+6+8+1+3+5=……1 12+32+5*2-1+………=……2 1+2=let say 21 the most close number that devide by 10 is 30 so 30-21=9 x=9

  83. jay said,

    January 9, 2006 at 20:00

    Outstanding. Saved me some time testing a new catalog site. Also got a good laugh at the stupid kids. Thanks.

  84. issah salia said,

    December 25, 2005 at 17:44

    thanks

  85. chud said,

    December 5, 2005 at 19:07

    Thanks for the code. Saved me lots of time and testing!

  86. Seb said,

    November 26, 2005 at 14:24

    Excellent piece of code, I was impressed.

    Have you thought about creating one for Switch/Solo?

    [graham] The Luhn algorithm should work for Switch / Solo to.

  87. Martin said,

    November 15, 2005 at 16:49

    Thanks for posting this (and your previous mod10 validator). It provided the basis of a credit card validator and also a few mock numbers for testing for a reasonably busy Java based e-commerce site that I worked on last year.

    It also used to be incredibly amusing reading all the begging letters for a valid number, especially the ones with justifications like above (school you say!) I never understood why people didn’t realise that a number that obeys mod10 does not suddenly give you a credit card account. There’s lots of obvious (and also some subtle) bits and pieices missing so a wannabe skiddie is never going to get very far armed with just an algorithm and a load of not so random numbers.

    Thanks again.

  88. Drei Viertel said,

    November 9, 2005 at 15:40

    Hm… Aren’t you worried about scripties nicking it? I like the fact that it’s in Pyth, though. Anything’s better than Visual bloody Basic… anyway, congrats, it works, well done.

    • DV