|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
design "product keys"
I have a software that I would like to have product keys to register the software.
These product keys will be used only once, and will tell the machine limits that the customer can create in the program. anyone have an idea how to do these or the software to do this? Thanks, Daniel |
|
#2
|
||||
|
||||
|
Just make a good random number generator and store the values to your database. Then check against that. That works if you're registering online.
If you don't have online registration, you run into the problem of people being able to share codes between each other. Programs that use an equation to generate the code often get cracked and you'll see small programs that generate a unique number for your computer. One simple method I use to generate random numbers is to use a large file (iso images work for this) and xor the bytes against themselfs over an array. Then xor rand() to finish it off ie: key[0x0FFFFF] (1Meg of keys) pos=file position key[pos&0x0FFFFF]=key[pos&0x0FFFFF]^nextByteFromFile^rand()
__________________
"Science is constructed of facts as a house is of stones. But a collection of facts is no more a science than a heap of stones is a house." - Henri Poincare |
|
#3
|
|||
|
|||
|
I'm new at this, and I am planning on having it activate online, if thats easier. Do you know any sample programs that I could look at, and view sample codes on how to do something like this because I don't know a thing about it.
Thanks, Daniel T. |
|
#4
|
||||
|
||||
|
Nope, sorry, never had to write software that needs to be registered. All my stuff is in-house.
I just know how to make a bunch of unique number because we use them for encryption of data. |
|
#5
|
|||
|
|||
|
you're talking about shareware key generation. Try to search shareware resource for this. I wrote my own key generator. I know some shareware registration company offers online key generation service
__________________
Wedding Gifts | Web Development | Order Fulfllment | Supply Chain | E-Business | Add to 100 SEO Friendly Directories fast do it yourself |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > design "product keys" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|