Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,242 members, 7,815,329 topics. Date: Thursday, 02 May 2024 at 10:57 AM

Help! How Do I Generate Pin Codes For Scratch Cards? - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Help! How Do I Generate Pin Codes For Scratch Cards? (8735 Views)

How Can I Generate Pinss And Serial Number? / Complete Tutorials On Designing A Wapka.m0bi Site.(codes/scripts Etc) / Pin Codes Generation For My Joomla Website (2) (3) (4)

(1) (Reply) (Go Down)

Help! How Do I Generate Pin Codes For Scratch Cards? by Ttola(m): 12:22pm On Mar 07, 2008
im in the middle of a project development and i need to generate pin code for scratch cards that users would need to logon.

i need a way of generating these and dont no where to look, thanks
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by my2cents(m): 12:41pm On Mar 07, 2008
For starters, in lieu of code that may already be out there and much better than this, you can use whatever language you are coding in to generate a set of random numbers. Just remember that the longer the number, the harder it is, potentially, to crack. This is where those lessons in probability come in wink

If you have a 3-number pin. It will have only 1000 (10 * 10 * 10) combinations. Any bored person wouldn't mind entering 1000 numbers to see which will be accepted. Not to mention, the numbers wouldn't be too random. But choose a 10-number pin and you are talking another story. Hopefully you see where I am going with this.

I hope this helps.
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by naijafan(m): 12:43pm On Mar 07, 2008
@poster
where do you want to check? oh, you need somethn crackable right

dude, come up with your own randomly generated sequence with one of the digits as a checksum that validates the rest.
that way, you and only you will knw the way it works. .until someone analyzes it and posts the hack online wink

@my2cents
lol, you beat me to submitting a reply.
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by tundewoods(m): 1:08pm On Mar 07, 2008
Now lets get started.

Com'on guys do expect the dude to start racking his head as well as waste time trying to write an app for that when he can get an app off the shelf.

Anyway i'm from the school of thought that believes in getting things done and infact done very fast.
I have a cool random pin generator that can generate Pins with the following other features

Number's of Pins to Generate: In here you will put the amount of pins you want the application to generate.


Prefix: If you desire to place a prefix number at the beginning of the pin, you can do so. This number will be constant trough the whole batch of pins.

Suffix: You can place a constant number at the end of the pins. It does not matter the length it could be one digit , two digits etc.


Start Control Number: For inventory purposes you will always have a control number and a batch number. This will allow you to control where your pins are deliver to.

Pin Length: This is the total length of the pin, now if you have added a prefix and a suffix this will decrease the randomly selected number. In other words if you have place a 1 as a prefix and a 2 on the suffix and the pin length is 10 , then the randomly selected number will be only 8 digits long. e.g.:
1XXXXXXXX2

Amount: Here you will put the face value of the pin.

Batch From: Starting number for batch number.

Inc. Batch Every: How many cards each batch will have.

Give me a shout on my email. tundeaguda[at]gmail[dot]com but i must warn i am a bloody capitalist. grin


######### Here is a sample generated pin i did while fooling around with it ###########

NAIRA391696134LAND,500 Naira,2,104
NAIRA433519817LAND,500 Naira,3,104
NAIRA518273958LAND,500 Naira,4,104
NAIRA308669054LAND,500 Naira,5,104
NAIRA872117806LAND,500 Naira,6,104
NAIRA200884122LAND,500 Naira,7,104
NAIRA260536022LAND,500 Naira,8,104
NAIRA238343969LAND,500 Naira,9,104
NAIRA865666581LAND,500 Naira,10,104
NAIRA164398761LAND,500 Naira,11,104
NAIRA971662413LAND,500 Naira,12,104
NAIRA568247997LAND,500 Naira,13,105
NAIRA810463342LAND,500 Naira,14,105
NAIRA476499907LAND,500 Naira,15,105
NAIRA782037823LAND,500 Naira,16,105
NAIRA388995970LAND,500 Naira,17,105
NAIRA714003241LAND,500 Naira,18,105
NAIRA955503570LAND,500 Naira,19,105
NAIRA044936663LAND,500 Naira,20,105
NAIRA379126545LAND,500 Naira,21,105
NAIRA956143018LAND,500 Naira,22,105
NAIRA016418418LAND,500 Naira,23,106
NAIRA730529891LAND,500 Naira,24,106
NAIRA975046165LAND,500 Naira,25,106
NAIRA864343506LAND,500 Naira,26,106
NAIRA878870091LAND,500 Naira,27,106
NAIRA115416961LAND,500 Naira,28,106
NAIRA947802831LAND,500 Naira,29,106
NAIRA899149267LAND,500 Naira,30,106
NAIRA561612603LAND,500 Naira,31,106
NAIRA418219122LAND,500 Naira,32,106
NAIRA196817780LAND,500 Naira,33,107
NAIRA003871833LAND,500 Naira,34,107
NAIRA853739898LAND,500 Naira,35,107
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by nduaj(m): 1:45pm On Mar 07, 2008
@tundewoods

nice programme, but are we sure that we will never have repeated values?
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by naijafan(m): 2:00pm On Mar 07, 2008
that shouldve been taken care of. since there is a batch number association.

wen we have a pool of nine hundred and ninety nine million, nine hundred and ninety nine thousand, nine hundred and ninety nine possibilities. . . a psuedo-random number generator has a lot to play with before thinking of repeating values wink
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by smartsoft(m): 3:54pm On Mar 08, 2008
hummmmmmmmmmmmmmm
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by Ttola(m): 2:54pm On Mar 09, 2008
hmm, thanx so much guys,, but i aint a nerd that can put that up in hours,,

isnt there a rapid tool that one can just change the algorithm and reuse at ones definition, pls id be intereted if there is
Re: Help! How Do I Generate Pin Codes For Scratch Cards? by anwulinwik(m): 8:25pm On Dec 18, 2017
Generating Pin for any kind of web application log-in is as easy a A,B,C. htp://blessedtechnologies.com can do that for you without any extra cost if we are to produce the cards for you. I have a personal php application that generates up to 30,000 pin of any lenght and/or with serial no, ID and other alpha-numeric strings like password, etc. It stores in a DB table instant. All we do it to export and send to you to rename and import into your DB as a table which you will run your log-in script against to validate during log-in orany online registration with Pin.

I have a short video I recorded with my phone while generating the last Pin for scratch cards I did for National Youth Council of Ogoni people Database, in PH. The needed 500 pieces but within 2 seconds it generated up to 800 before I stopped it.
It runs on its own once I launch it and start generating until I stop it

I can send the video to anyone that mails me not here because of the brains here
08060419450 anwulinwike@gmail.com
You will not pay for the generation of the pin if i am to produce the cards for you

1 Like

(1) (Reply)

Why Is .ng Costlier Than Other Domain? / A One Year Blogging Plan That Works / Web Content Writing/development Support

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 25
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.