blowfish.dll extension BLOWFISH Extension for Visual DialogScript

Version: 1.4
Copyright © 2001 Pablo de Camargo Cerdeira
All rights reserved


Description:
This is an extension that provides strong encryption to your visual dialogscript applications. The blowfish encryption is one of the strongest known ciphers in the world. Using this extension you can easily create registration routines and protect your data the right way. Blowfish is a brand new encryption algorithm, created by Bruce Schneier, and as of yet no cryptanalysis has been carried out on it. Blowfish is based on the RC5 cipher, which has undergone extensive analysis, providing a certain degree of certainty that Blowfish has no major holes in the design. It uses a 64-bit block cipher, which allows the usage of a variable key size, with a maximum length of 448 bits, and is used to generate several subkey arrays. This association can create a lot of different combinations to create a strong cryptography. All operations are based on XORs and additions on 32-bit words. There was an open competition for the cryptanalysis of Blowfish supported by Dr. Dobb's Journal with a $1000.00 prize. This contest ended in April 1995 and nobody was able to decipher a Blowfish ciphered string. This extension is shareware and will not work when the script is compiled until a valid serial number is supplied. eg. external blowfish.dll,<serial number>

Functions:
[+] @BLOWFISH(CRYPTFILE,<key>,<input file>,<output file>)
[+] @BLOWFISH(CRYPTSTR,<key>,<string>)
[+] @BLOWFISH(DECRYPTFILE,<key>,<input file>,<output file>)
[+] @BLOWFISH(DECRYPTSTR,<key>,<string>)


[ Function Explanation ] :

[-] @BLOWFISH(CRYPTFILE,<key>,<input file>,<output file>)

This function encrypts a file with a key and saves to a new file. This function returns "1" if OK, otherwise, it will return an error number 607.

<key> - this is the key to encrypt the file with. This can be any combination of characters.
<input file> - this is the path to a file to encrypt.
<output file> - this is the path to a file to save the encrypted file to. This must be a different filename from the input file.



[-] @BLOWFISH(CRYPTSTR,<key>,<string>)

This function encrypts a string with a key. The function then returns the encrypted string.

<key> - this is the key to encrypt the string with. This can be any combination of characters.
<string> - this is the string to encrypt.



[-] @BLOWFISH(DECRYPTFILE,<key>,<input file>,<output file>)

This function decrypts an encrypted file with a key and saves to a new file. This function returns "1" if OK, otherwise, it will return an error number 607.

<key> - this is the key to decrypt the file with. This should be the same as the key you encrypted the file with.
<input file> - this is the path to a file to decrypt.
<output file> - this is the path to a file to save the decrypted file to. This must be a different filename from the input file.



[-] @BLOWFISH(DECRYPTSTR,<key>,<string>)

This function decrypts an encrypted string with a key. The function then returns the decrypted string.

<key> - this is the key to decrypt the string with. This should be the same as the key you encrypted the string with.
<string> - this is the string to decrypt.



Errors:
601 - Invalid Function
602 - Invalid/Empty Key
603 - Invalid/Emtpy String/Input Filename
604 - Invalid/Empty Output Filename
605 - Internal Error Ciphering the String
606 - Internal Error Deciphering the String
607 - Internal Error Ciphering the File
608 - Internal Error Deciphering the File
609 - Input and Output Filenames Conflict


Registration:
This extension is shareware it must be registered within 28 days or you must remove the extension and any application that uses it. Once you register you will receive a personal serial code which will unlock the extension so you can distribute it with your applications. Registering costs $15.00 US Dollars and can be purchased online at [
http://www.reg.net/product.asp?ID=6048 ].



Support:
Please note that only registered users are provided with support. However bug fixes will be made as they are found. Report bugs to [ support@vdsworld.com ].



Copyright © 2001 Pablo de Camargo Cerdeira / All rights reserved.