473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

License key generator

190 100+
Hi all,

I want to idea/code for license key generation.

In detail, I give a product to client, while installation it will generate one key and asked unlock for that key. Client mail to this key to me and asked unlock key. After got unlock key from me, client enter to application and continue installation (after checking correct unlock key inbuilt function).

How i can generate key using md5/hash or some thing....

In my application should generate the key and unlock with my keyword....

like md5 generate key with my word "MyWorld" - md5(MyWorld)...

Pls help
Apr 1 '08 #1
6 5573
TheServant
1,168 Expert 1GB
Well, you want something a little better than md5(the word), because that will be an easy guess for anyone using the software.

Can you have an online database and each copy you make you have a unique id number? That way, it can only be activated once. You could then have a fance encryption for the id number and check that with the one stored in the database.

What I mean by fancy is:
md5(md5(md5($id_number * 0.2546 )))

Or something a little more elaborate.
Apr 1 '08 #2
Markus
6,050 Expert 4TB
Well, you want something a little better than md5(the word), because that will be an easy guess for anyone using the software.

Can you have an online database and each copy you make you have a unique id number? That way, it can only be activated once. You could then have a fance encryption for the id number and check that with the one stored in the database.

What I mean by fancy is:
md5(md5(md5($id_number * 0.2546 )))

Or something a little more elaborate.
Yeh, you're going to have to use a database to keep track of the keys.

TheServants ideology seems pretty water tight!

Regards,
Apr 1 '08 #3
maheswaran
190 100+
Hi,

Is that need to maintain a database for it's?. My Idea is My application generate the some set of codes (for example 12,23,45,6) only and using this codes i generate the license key.So client send this to me i again re-generate unlock key....

If am confuse please suggest one good way...?
Apr 2 '08 #4
TheServant
1,168 Expert 1GB
I don't understand how you plan on identifying users? So there will only be one copy of this program? If your program generates random codes everytime then what is the point of having a security system?

Again, I think you need to have one number per product. If you make 10 copies, you should have 10 different keys. The only random numbers that should occur is when you make the CD, not when you install or run or what ever.

The user can click Activate or Register or what ever and then that can mail you (or what ever) so you (or the server) can return a confirmation that that specific CD is: a) Unregistered/Unactivated and b) Using a valid CD key.

If you have random CD keys occuring all the time, then there is no stopping people making 100 copies and then saying to you they installed it 100 times. I hope you understand.
Apr 2 '08 #5
maheswaran
190 100+
HI,

from that point i got confused.....

Could give a suggestion for clear idea...

That's how can i proceed..
Apr 2 '08 #6
maheswaran
190 100+
I want to this below flow

1) User buy my product.

2) Run Installation kid

3) Application give/generate one key and asked unlock key for this

4) User mail this key

5) I send a unlock key for that generated key

*** In this case there is no contact between my application and user application ****
Just have same set in both side...

Is this not secure way.... pls suggest some other secure way....
Apr 2 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: gooze | last post by:
Hi I know, this might be the wrong place for such a question, but maybe you can redirect me to the right place to post. I wrote a small software under the GNU General Public License and put...
9
by: Francis Avila | last post by:
A little annoyed one day that I couldn't use the statefulness of generators as "resumable functions", I came across Hettinger's PEP 288 (http://www.python.org/peps/pep-0288.html, still listed as...
34
by: Michael Foord | last post by:
I'd like to formalise slightly the license I release my projects under. At the moment it's 'free to use, modify, distribute and relicense'. This is basically fine as I don't want t oprevent people...
9
by: Daniel Keep | last post by:
I'm currently working on a Python program, and was wondering if it's possible to license the program, some associated tools, and a few other libraries I've written under the Python license. I...
1
by: askvinod | last post by:
I want to write a License Generator for my company which has 10-15 products. Can I write Secure License generator thru .NET. What is the requirement. I also want some mechanism so that customers...
4
by: Chad | last post by:
Hi everyone, Does anyone know where I can get a license key generator that I can integrate into my VB.NET program, which uses the CPU ID, etc? I have seen several "pay" programs, but I do...
6
by: Joe | last post by:
Sorry this is OT... I'm looking for recommendations for generating license keys (machine specific) for our application. I was looking at Quick Licenses Manager which looks pretty good. Is...
9
by: Paul | last post by:
Hi, I have spent the last couple of days researching this issue. And I have also spent time thinking about what is needed. I am distributing my software as shareware. When a customer orders a...
4
by: Martitza | last post by:
Hi. I work for a small company (actually in process of forming) interested in embedding or extending python as part of our commercial non-open-source product. We have legal counsel, but are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.