Blowfish plug-in

From NSIS Wiki

Contents

[edit] Links

Download link:

Blowfish.zip (14 KB)

NSIS Forum thread

[edit] 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.

[edit] DLL Functions

[edit] blowfish::encrypt

Encrypts data using the Blowfish algorithm.

[edit] Syntax

blowfish::encrypt "String" "Password"

[edit] Parameters

String
String to be encrypted.
Password
Password to be used in decryption to get the "String" value back.

[edit] Return Value

Encrypted value to the variable "$8".

[edit] Example

blowfish::encrypt "secret" "password"
MessageBox MB_OK "Encrypted string is $8"

[edit] blowfish::decrypt

Decrypts data using the Blowfish algorithm.

[edit] Syntax

blowfish::decrypt "EncryptedString" "Password"

[edit] Parameters

EncryptedString
String to be decrypted.
Password
Password to restore the original "String" value from the encryption process.

[edit] Return Value

Decrypted value to the variable "$8".

[edit] Example

blowfish::decrypt $8 "password"
MessageBox MB_OK "Decrypted string is $8"

[edit] Versions History

1.0 - 19/Jan/2005
  • First version.

[edit] Credits

Plug-in created by yehiaeg.

donate
ads