<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nsis.sourceforge.io/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Swallowdirect</id>
	<title>NSIS Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://nsis.sourceforge.io/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Swallowdirect"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/Special:Contributions/Swallowdirect"/>
	<updated>2026-05-17T15:20:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=DcryptDll_plug-in&amp;diff=24450</id>
		<title>DcryptDll plug-in</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=DcryptDll_plug-in&amp;diff=24450"/>
		<updated>2015-01-10T12:39:37Z</updated>

		<summary type="html">&lt;p&gt;Swallowdirect: Link to the unicode version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageAuthor|Arrby}}&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
Download link:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;attach&amp;gt;DcryptDll.zip&amp;lt;/attach&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://github.com/swallowdir/nsis-dcrypt/releases/download/v1.0/DcryptDll.zip (Unicode version)&lt;br /&gt;
&lt;br /&gt;
The .zip file above includes a Plugin for NSIS (DcryptDll.dll) and two executable&lt;br /&gt;
binaries (Ncrypt.exe &amp;amp; GenKeys.exe), the source to build all 3, two example&lt;br /&gt;
.nsi scripts showing possible usage, the how to use document DcryptDllReadme.html,&lt;br /&gt;
and a couple of other supporting files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
These add encryption / decryption capability to NSIS using the [[Wikipedia:RC4|RC4]] algorithm but it can also hash the string with the [[Wikipedia:MD5|MD5]] algorithm.&lt;br /&gt;
&lt;br /&gt;
In a manner similar to the ExtractDllEx plugin, one program is used on the computer&lt;br /&gt;
you are &amp;lt;em&amp;gt;compiling&amp;lt;/em&amp;gt; your NSIS script on to do the &amp;lt;b&amp;gt;encryption&amp;lt;/b&amp;gt;, and the plugin&lt;br /&gt;
is used to do the &amp;lt;b&amp;gt;decryption&amp;lt;/b&amp;gt; when the Installer .exe is actually executing.&lt;br /&gt;
&lt;br /&gt;
Ncrypt.exe is the program you use for the encryption, DcryptDll.dll is the plugin used to &lt;br /&gt;
do the decryption.&lt;br /&gt;
&lt;br /&gt;
The NGenKeys.exe is not necessary, but is included for convenience: you can use it&lt;br /&gt;
to generate the KeyStrings you will need for encrypting and decrypting the files.&lt;br /&gt;
&lt;br /&gt;
The zip file was built so that you can just extract it (preserving folder names) to your&lt;br /&gt;
NSIS distribution &amp;lt;em&amp;gt;Contrib&amp;lt;/em&amp;gt; folder. You should either move the plugin to the &amp;lt;em&amp;gt;Plugins&amp;lt;/em&amp;gt;&lt;br /&gt;
folder or recompile the source (the VC++ 6.0 project file has output set to the Plugins directory).&amp;lt;br&amp;gt;&lt;br /&gt;
You can move Ncrypt.exe and NGenKeys.exe to some folder included in your PATH environment variable&lt;br /&gt;
or whatever.&lt;br /&gt;
&lt;br /&gt;
Please let me know if you find any of those &amp;quot;dreaded&amp;quot; bugs.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
==== Does DcryptDll support solid compression? ====&lt;br /&gt;
&lt;br /&gt;
* Since DCryptDll only handles encryption, you can make it support whatever type of compression you need. A common technique is to use [http://www.7-zip.org 7-zip] or another freely redistributable command-line archiving tool to compress all of the files that you need encrypted, and then write a batch script that encrypts the archive at compile time, using temporary files and !define to pass information between the compiler/preprocessor and the encryption tools. NCrypt.exe and NGenKeys.exe are your friends.&lt;br /&gt;
&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Swallowdirect</name></author>
	</entry>
</feed>