I need to implement a typical registration code system. So the customer can download a 30-day evaluation version, and hopefully then can go to the website and purchase an unlock code to use it properly.
I guess I need to find a way of encoding an evaluation timeout and a product code (there's two different levels of the same product) within the magic code. Cryptography really isn't my thing though, so if anybody knows of an algorithm or free-ish library that I could use for this sort of thing that would be appreciated.
BTW the web server is Windows 2003, using sad old JavaScript ASP, so I could put a windows console app on the server and link that up with ASP to generate the code. And the actual software is of course Windows only.
I know this sort of thing isn't exactly secure, but more secure options come with potential support nightmares and that's the last thing we need.
I guess I need to find a way of encoding an evaluation timeout and a product code (there's two different levels of the same product) within the magic code. Cryptography really isn't my thing though, so if anybody knows of an algorithm or free-ish library that I could use for this sort of thing that would be appreciated.
BTW the web server is Windows 2003, using sad old JavaScript ASP, so I could put a windows console app on the server and link that up with ASP to generate the code. And the actual software is of course Windows only.
I know this sort of thing isn't exactly secure, but more secure options come with potential support nightmares and that's the last thing we need.
Comment