Blowfish plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (+Category:Plugins.) |
|||
Line 11: | Line 11: | ||
'''Version:''' 1.0. | '''Version:''' 1.0. | ||
Can encrypt a value using the [[Wikipedia:Blowfish (cipher)|Blowfish]] algorithm from a string w/ password. The password can be used | Can encrypt a value using the [[Wikipedia:Blowfish (cipher)|Blowfish]] algorithm from a string w/ password. The password can be used later to unlock the original string in the decryption process. No source code is included. | ||
== DLL Functions == | == DLL Functions == |
Revision as of 00:58, 18 July 2008
Links
Download link:
Blowfish.zip (14 KB)
Description
Version: 1.0.
Can encrypt a value using the Blowfish algorithm from a string w/ password. The password can be used later to unlock the original string in the decryption process. No source code is included.
DLL Functions
blowfish::encrypt
Encrypts data using the Blowfish algorithm.
Syntax
blowfish::encrypt "String" "Password"
Parameters
- String
- String to be encrypted.
- Password
- Password to be used in decryption to get the "String" value back.
Return Value
Encrypted value to the variable "$8".
Example
blowfish::encrypt "secret" "password" MessageBox MB_OK "Encrypted string is $8"
blowfish::decrypt
Decrypts data using the Blowfish algorithm.
Syntax
blowfish::decrypt "EncryptedString" "Password"
Parameters
- EncryptedString
- String to be decrypted.
- Password
- Password to restore the original "String" value from the encryption process.
Return Value
Decrypted value to the variable "$8".
Example
blowfish::decrypt $8 "password" MessageBox MB_OK "Decrypted string is $8"
Versions History
- 1.0 - 19/Jan/2005
- First version.
Credits
Plug-in created by yehiaeg.