Crypto plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Crypto Plugin moved to Crypto plug-in) |
mNo edit summary |
||
Line 7: | Line 7: | ||
== Introduction == | == Introduction == | ||
'''Version:''' 1.1. | |||
This plugin provides you cryptographic interface using CryptoAPI. | This plugin provides you cryptographic interface using CryptoAPI. | ||
Using this plugin you can get common cryptographic hashes like MD5, SHA1, MD2, MD4. | Using this plugin you can get common cryptographic hashes like MD5, SHA1, MD2, MD4. |
Revision as of 14:37, 28 December 2005
Author: GAG (talk, contrib) |
Links
cryptoplg11.zip (43 KB) (plugin dll + readme + examples)
Introduction
Version: 1.1.
This plugin provides you cryptographic interface using CryptoAPI. Using this plugin you can get common cryptographic hashes like MD5, SHA1, MD2, MD4.
Plugin DLL size: 3 660 bytes (not packed), 2 886 bytes (upx packed)
How to use
String Hash
Crypto::HashData "MD5" "String to be hashed" Pop $0
Supported algorithms: MD5|SHA1|MD2|MD4
File Hash
Crypto::HashFile "MD5" "$WINDIR\notepad.exe" Pop $0
Supported algorithms: MD5|SHA1|MD2|MD4