MD5 plugin: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (Updated by user: PerditionC (talk, contrib).)
Line 4: Line 4:
<br style="clear:both;">
<br style="clear:both;">
== Links ==
== Links ==
<attach>Md5dll.0.2.zip</attach><br>
<attach>Md5dll.0.3.zip</attach><br>
[[Image:Zip.gif]] [http://www.darklogic.org/win32/nsis/plugins/md5dll/md5dll.0.2.zip Md5dll.0.2.zip] (9 KB) (Mirror #1)
[[Image:Zip.gif]] [http://www.darklogic.org/win32/nsis/plugins/md5dll/md5dll.0.3.zip Md5dll.0.3.zip] (9 KB) (Mirror #1)
 
[http://www.darklogic.org/win32/nsis/plugins/md5dll/ Older Versions of MD5 plugin]


== Description ==
== Description ==
Generates a md5 value from either a string or contents of specified file.
Generates a md5 value from either a string or contents of specified file.
Original:  MD5 Plugin DLL by Matthew "IGx89" Lieder,
 
Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm
Original:  MD5 Plugin DLL by Matthew "IGx89" Lieder, derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm


== Sample Usage ==
== Sample Usage ==
Line 16: Line 18:
OutFile "md5test.exe"
OutFile "md5test.exe"
Section ""
Section ""
   md5dll::GetMD5 "md5me"
   md5dll::GetMD5String "md5me"
   Pop $0
   Pop $0
   DetailPrint "md5: [$0]"
   DetailPrint "md5: [$0]"


   md5dll::GetFileMD5 "${NSISDIR}\makensis.exe"
   md5dll::GetMD5File "${NSISDIR}\makensis.exe"
   Pop $0
   Pop $0
   DetailPrint "md5: [$0]"
   DetailPrint "md5: [$0]"

Revision as of 20:29, 10 June 2005

Author: PerditionC (talk, contrib)


Links

Md5dll.0.3.zip (10 KB)
Zip.gif Md5dll.0.3.zip (9 KB) (Mirror #1)

Older Versions of MD5 plugin

Description

Generates a md5 value from either a string or contents of specified file.

Original: MD5 Plugin DLL by Matthew "IGx89" Lieder, derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm

Sample Usage

OutFile "md5test.exe"
Section ""
  md5dll::GetMD5String "md5me"
  Pop $0
  DetailPrint "md5: [$0]"
 
  md5dll::GetMD5File "${NSISDIR}\makensis.exe"
  Pop $0
  DetailPrint "md5: [$0]"
SectionEnd