Blowfish plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Version: 1.0.) |
m (+Category:Plugins.) |
||
Line 75: | Line 75: | ||
Plug-in created by [[User:yehiaeg|yehiaeg]]. | Plug-in created by [[User:yehiaeg|yehiaeg]]. | ||
[[Category:Plugins]] |
Revision as of 04:39, 3 December 2005
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 lated 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.