Best, most secure way to implement a registration code?

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Greetings,

What would be the best way for me to implement a Name/Registration Code into
my application? Should I just take the input of the "name" textbox, convert
it to hex, do a bunch of strange oddball calculations on it and truncate the
left 10 digits or so to validate against the "registration code" textbox?
In other words, how would I prevent a keygen from showing up on the internet
within a month of deploying an application?

-Dave
 
Purchase a library from a company that does this stuff professionally. It's
not trivial to do correctly and if you do it on your own is usually easily
broken. However, you have to weigh the risk against the cost. Will you
really lose revenue by copying?
 
Back
Top