This discussion is archived
3 Replies Latest reply: Dec 18, 2012 11:42 PM by Kayaman RSS

How to create License Key in Java ?

Ajay Sharma Newbie
Currently Being Moderated
Hi,

I need to Generate License keys of my application for different users. How to do it ?


Regards,
Ajay
  • 1. Re: How to create License Key in Java ?
    Kayaman Guru
    Currently Being Moderated
    I Googled and someone mentioned "if you don't know how to do it, you shouldn't be doing it". Probably has a grain of truth to it.

    You might want to Google for an existing implementation if you aren't familiar with asymmetric ciphers and such.
  • 2. Re: How to create License Key in Java ?
    Ajay Sharma Newbie
    Currently Being Moderated
    Hi,

    I have little information on encryption algorithm and UUID class. I used it in my application.

    Is it good to generate random key using this ?

    I would also like to know what is the standard format of License Key and what it represent ?

    I just know that it must be alphanumeric and following format
    s276-fgh6-sdjf-bvk5 or
    
    asdha-d75b8-cvx-hf6e6
    Regards,
    Ajay Sharma
  • 3. Re: How to create License Key in Java ?
    Kayaman Guru
    Currently Being Moderated
    Ajay Sharma wrote:
    I would also like to know what is the standard format of License Key and what it represent ?
    Standard format according to whom?
    I just know that it must be alphanumeric and following format
    No it doesn't. Nothing is stopping you from using your own format.

    You seem to be confused with this whole issue. I'd recommend that if you decide to continue with this, get an existing implementation and use that.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points