DcryptDll plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Adding simple, yet reasonably secure encryption capability to NSIS)
 
No edit summary
Line 3: Line 3:


== Description ==
== Description ==
<p>
The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable
The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable
binaries (Ncrypt.exe & GenKeys.exe), the source to build all 3, two example
binaries (Ncrypt.exe & GenKeys.exe), the source to build all 3, two example
.nsi scripts showing possible usage, the how to use document DcryptDllReadme.html,
.nsi scripts showing possible usage, the how to use document DcryptDllReadme.html,
and a couple of other supporting files.
and a couple of other supporting files.<br>
 
</p>
<p>
These add some encryption / decryption capability to NSIS.<br>
These add some encryption / decryption capability to NSIS.<br>
In a manner similar to the ExtractDllEx plugin, the Ncrypt.exe program is used to encrypt
</p>
files on the Installer Compiling machine, and the DcryptDll.dll plugin is used to  
<p>
decrypt the files on the target machine when the Installer .exe is executing.
In a manner similar to the ExtractDllEx plugin, one program is used on the computer
 
you are <em>compiling</em> your NSIS script on to do the <b>encryption</b>, and the plugin
is used to do the <b>decryption</b> when the Installer .exe is actually executing.<br>
</p>
<p>
Ncrypt.exe is the program you use for the encryption, DcryptDll.dll is the plugin used to
do the decryption.<br>
</p>
<p>
The NGenKeys.exe is not necessary, but is included for convenience: you can use it
The NGenKeys.exe is not necessary, but is included for convenience: you can use it
to generate the KeyStrings you will need for encrypting and decrypting the files.
to generate the KeyStrings you will need for encrypting and decrypting the files.<br>
 
</p>
<p>
The zip file was built so that you can just extract it (preserving folder names) to your
NSIS distribution <em>Contrib</em> folder. You should either move the plugin to the <em>Plugins</em>
folder or recompile the source (the VC++ 6.0 project file has output set to the Plugins directory).<br>
You can move Ncrypt.exe and NGenKeys.exe to some folder included in your PATH environment variable
or whatever.
</p>
<br>
Please let me know if you find any of those "dreaded" bugs.
Please let me know if you find any of those "dreaded" bugs.
 
<br><br>
Page author: Arrby
Page author: Arrby

Revision as of 23:44, 17 April 2005

Links

Download from NSIS Forum

Description

The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable binaries (Ncrypt.exe & GenKeys.exe), the source to build all 3, two example .nsi scripts showing possible usage, the how to use document DcryptDllReadme.html, and a couple of other supporting files.

These add some encryption / decryption capability to NSIS.

In a manner similar to the ExtractDllEx plugin, one program is used on the computer you are compiling your NSIS script on to do the encryption, and the plugin is used to do the decryption when the Installer .exe is actually executing.

Ncrypt.exe is the program you use for the encryption, DcryptDll.dll is the plugin used to do the decryption.

The NGenKeys.exe is not necessary, but is included for convenience: you can use it to generate the KeyStrings you will need for encrypting and decrypting the files.

The zip file was built so that you can just extract it (preserving folder names) to your NSIS distribution Contrib folder. You should either move the plugin to the Plugins folder or recompile the source (the VC++ 6.0 project file has output set to the Plugins directory).
You can move Ncrypt.exe and NGenKeys.exe to some folder included in your PATH environment variable or whatever.


Please let me know if you find any of those "dreaded" bugs.

Page author: Arrby