Archive: Best and most secured way for serial key verification implementation


Best and most secured way for serial key verification implementation
<pre>1) I have written a .nsi file. an implemented “PassDialog” plug in for serial key verification implementation.
2) I’ve kept some static string into the .nsi file and comparing that with serial key input provided by the user.
3) I’m not sure how much secured it is. so I want to implement this serial key verification with the help of MD5.
4) Now in that case also, I’ve provided an initial string into the .nsi file. Then that will go through MD5 and will generate some hashed value.
5)Now I will take some input from the user and that value will also go through MD5 and will produce a hashed value.
6) Then those two hashed values are going to be compared for serial key verification.

This is my current thought of implementing serial key verification by NSIS.
Now my query is,
Is the way is secured enough? because even if I pass the initial string value through the MD5, in that case also,I’ll have to keep that initial string somewhere(may be in .nsi file or any other external file).What exactly I was doing at the time of not using MD5 concept.So will I be benefited from any angle. Please suggest me any better way to implement serial key verification by using NSIS.</pre>


You could improve your method with decrypt plugin,

http://nsis.sourceforge.net/DcryptDll_plug-in