diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
commit | 35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch) | |
tree | 657d15a03cc46bd099fc2c6546a7a4ad43815d9f /packaging/win32/plugins | |
parent | Initial commit. (diff) | |
download | inkscape-upstream.tar.xz inkscape-upstream.zip |
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/win32/plugins')
-rwxr-xr-x | packaging/win32/plugins/md5dll.dll | bin | 0 -> 6656 bytes | |||
-rw-r--r-- | packaging/win32/plugins/md5dll.txt | 68 |
2 files changed, 68 insertions, 0 deletions
diff --git a/packaging/win32/plugins/md5dll.dll b/packaging/win32/plugins/md5dll.dll Binary files differnew file mode 100755 index 0000000..bde153f --- /dev/null +++ b/packaging/win32/plugins/md5dll.dll diff --git a/packaging/win32/plugins/md5dll.txt b/packaging/win32/plugins/md5dll.txt new file mode 100644 index 0000000..a8d3572 --- /dev/null +++ b/packaging/win32/plugins/md5dll.txt @@ -0,0 +1,68 @@ +Calculates the md5sum of a file or string. +Has been tested to work with NSIS 2.0+ + + +Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm + +[Md5Dll] +Matthew "IGx89" Lieder + -Original plugin Author + +Sunjammer (12th May 2002) + -Original usage notes and example script + +[Md5Dll.0.1] +KJD (2004) + -Modified to reduce size and use exdll.h + (reduced to about 6KB uncompressed, by removing CRTL dependency) + +[Md5dll.0.2] +Davy Durham (2004) + -MD5.cpp fix (correct for loop used to replace memset, exceeded bounds) + +[Md5dll.0.3] +Shengalts Aleksander aka Instructor (2005) + -New command: "GetMD5Random" + -Changed names: "GetFileMD5" -> "GetMD5File", "GetMD5" -> "GetMD5String" + -Fixed: string length error + +[Md5dll.0.4] +KJD (2005) + -Added dual name to exports for backwards compatibility + + +-------------------------------- + +Usage: + +Push $1 ;string +CallInstDll "md5dll" GetMD5String +Pop $1 ;md5 of string + +-or- + +Push $1 ;filename +CallInstDll "md5dll" GetMD5File +Pop $1 ;md5 of file + +-------------------------------- + +Example usage in recent NSIS versions + +OutFile "md5test.exe" +Section "" + #generate MD5sum of a string + md5dll::GetMD5String "md5me" + Pop $0 + DetailPrint "md5: [$0]" + + # generate MD5sum of a file + md5dll::GetMD5File "${NSISDIR}\makensis.exe" + Pop $0 + DetailPrint "md5: [$0]" + + #generate random MD5sum + md5dll::GetMD5Random + Pop $0 + DetailPrint "md5: [$0]" +SectionEnd |