Posted: Sat Jul 18, 2009 2:50 pm
I have used this Command for a new registration scheme. I compiled a DLL with certain functions that will only be available in the full version of my app, and then encrypted it with RC4 using a 16 character password.
I included the DLL as a binary in the EXE. When the app starts up, it looks for a registration key, and then parses it. Each reg key of mine is 5-600 characters long, and contains the valid password somewhere. After decrypting the DLL, I use LoadLibraryM to access its functions.
If there is no reg key with password, or someone has an incorrect serial, LoadLibrayM fails, and none of the full functions are available. There is no way really to decrypt the DLL without a VALID Key. Sort of like Armadillo secure sections.
This works on XP, Vista, and WinSeven 32 bit so far.
I included the DLL as a binary in the EXE. When the app starts up, it looks for a registration key, and then parses it. Each reg key of mine is 5-600 characters long, and contains the valid password somewhere. After decrypting the DLL, I use LoadLibraryM to access its functions.
If there is no reg key with password, or someone has an incorrect serial, LoadLibrayM fails, and none of the full functions are available. There is no way really to decrypt the DLL without a VALID Key. Sort of like Armadillo secure sections.
This works on XP, Vista, and WinSeven 32 bit so far.