Home  Product  Download  Order  FAQ  Link  Contact
 

Description

Dynamic code en/decrypt

EMbedded protector

RSA-key Locked Code

Enemy process

ACProtector API

Interface

MachineID

Order and support

Standard License

Trial License

History

UltraProtect ---- EMbedded protector

RSA-key Locked Code

ACProtect can lock some code specified by the RSA key pair,so without the correct key.dat,the code locked can not run,it will be skipped. This character fit the need of distribute trial version(function limit) before the customer buy your key.dat license. The figure below:

Just add two line of code predefined by ACProtect into your source code,then recompile , use ACProtect to protect the exe file The figure below is the exe status difference of the condition that no key.dat and user has key.dat . If user has the correct key.dat,the RSA_key locked code will be decrypted by the key.dat,so the encrypted exe code will be decrypted to run. If the user has no the correct key.dat,the encrypted exe code can not decrypted or decrypted with error. So the function will not work normally or just skip over.



The cracker can see the RSA public key through the debug procedure,he can not get the private key,and it is impossible now to get the private key of RSA 1024,so this feature is safe if the user has no the correct key.dat.

Example for Delphi

procedure TForm1.Button2Click(Sender: TObject);
var KeyCorrect:boolean;
begin
KeyCorrect:=false;
$I include_begin.inc //RSA lock code begin
showmessage('RSA KEy Lock Example'+char($0d)+char($0a)+'if you have no the correct key.dat,you can not see me');
KeyCorrect:=true;
$I include_end.inc //RSA lock code end

if keycorrect=true then showmessage('Valid user :-)')
else showmessage('Invalid user :-<');
end;

see the example in the \example\delphi\ for detail;

If you use VC ,compiler ,just add the embedded protector signature (predefied in the exampledirectory of the ACProtect directory,just two lines) into your delphi project source code and compile the VC projects,then use ACProtect to protect the VC compiled exe file.example code :


Example for C/C++


#include "windows.h"
#include "..\..\include\ACProtect.h"
int main(int argc, char* argv[])
{

//example of RSA key lock
//this will prevent the cracker to write out the KeyGen of the software
//the code between the "RSA lock code begin" and "RSA lock code end" will be locked with the RSA1024 keyapir,
//without the correct RSA key Public key,the code locked can not be unlock,so the function is limited to those who have the correct key.dat

//used to generate the function limit software.

bool KeyCorrect = false;
RSALOCK_BEGIN; //u must include this line before the code protected

KeyCorrect = ! KeyCorrect;
MessageBox(NULL,"If you have no the correct key.dat,you can not see me after being protected with ACProtect","RSA Lock codes example",MB_OK);

RSALOCK_END; //u must include this line after the code protected

if (KeyCorrect) MessageBox(NULL,"Valid user :-)","Valid user :-)",MB_OK);

else MessageBox(NULL,"Invalid user :-<","Invalid user :-<",MB_OK);

return 0;
}

see the example in the \example\VC\ for detail;

 


 
Copyright UltraProtect.com 2004-2005, All right be reserved. Design by for3w.org