There are a lot of questions relating to license keys asked on Stack Overflow. But they don't answer this question.
Can anyone provide a simple license key algorithm that is technology independent and doesn't required a diploma in mathematics to understand?
The license key algorithm is similar to public key encryption. I just need something simple that can be implemented in any platform .NET/Java and uses simple data like characters.
Written as Pseudo code is perfect.
So if a person presents a string, a complementary string can be generated that is the authorisation code. Below is a common scenario that it would be used for.
- Customer downloads software which generates a unique key upon initial startup/installation.
- Software runs during trial period.
- At end of trial period an authorisation key is required.
- Customer goes to designated web-site, enters their code and get authorisation code to enable software, after paying :)
Don't be afraid to describe your answer as though you're talking to a 5 yr old as I am not a mathemetician.