Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

License Key Algorithm

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I am trying to add software licensing to my software, which I am planning to sell (which means if the license if correct, give access to the software. Else, break the access). I don't have any servers, so unable to connect to them. I am going to use "Kagi" service to sell my software ( I don't like to use their server support for licensing too, because it is time for me to get some break ). So, I decided to use client side validation. Anyway, I am in a confuse of how to generate the license(the license algorithm) and how to validate it (according to license algorithm). I can do it in my way, but don't like to mess with this security issue, so decided to take your expertise help. Please tell me/show me/give examples for how to create this License Generator, and Validator. And, if you are posting an example with an algorithm, please be kind enough to explain it if you think it is complex. Because then only I can create one of my own

Please help..
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved from Swing / AWT / SWT / JFace
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Moved from Swing / AWT / SWT / JFace
Thanks Darryl


Any help here please?
 
Tim Moores
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See http://www.coderanch.com/how-to/java/Java-FAQ#licensing for some available options (unless there is a reason you want to roll your own).
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:See http://www.coderanch.com/how-to/java/Java-FAQ#licensing for some available options (unless there is a reason you want to roll your own).


Thanks Tim. Yes, I need to go for one of my own, the reason is, I need to keep it simple.
 
Tim Moores
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That reason sounds fishy. I would imagine that it's far simpler to use an existing solution than to try to roll your own (and make it reliable, safe and easy to use).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic