MD5 plugin: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author links.)
m (Added category links.)
Line 25: Line 25:
SectionEnd
SectionEnd
</highlight-nsis>
</highlight-nsis>
[[{{ns:14}}:Plugins]]

Revision as of 21:53, 30 April 2005

Author: PerditionC (talk, contrib)


Links

Md5dll.0.2.zip not found
Zip.gif Md5dll.0.2.zip (9 KB) (Mirror #1)

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::GetMD5 "md5me"
  Pop $0
  DetailPrint "md5: [$0]"
 
  md5dll::GetFileMD5 "${NSISDIR}\makensis.exe"
  Pop $0
  DetailPrint "md5: [$0]"
SectionEnd