Lasso Soft Inc. > Home

[Encrypt_BlowFish]

[Encrypt_BlowFish] encrypts a string. Accepts two parameters, a string to be encrypted and a -Seed keyword with the key or password for the encryption.

Ideally, the -Seed should be a long phrase rather than a simple password. The exact same -Seed must be used when decrypting the text using [Decrypt_BlowFish]. If the seed is forgotten there is no way to retrieve the original value of the encrypted text.

Note: The BlowFish tags are not binary-data safe. The encrypted string will be truncated at the first null character. To encrypt binary data first pass it through the [Encode_Base64] or [Encode_UTF8] tag.

  • Syntax
  • Parameters
[Encrypt_BlowFish: -Seed='Password', 'Encrypt Value']
Required Parameters
Encrypt Value The string which should be encrypted.
-Seed The password which will be used to encrypt the string. The same password must be specified when the data is decrypted.
Examples

To encrypt a string using the BlowFish algorithm:

Use the [Encrypt_BlowFish] tag with a long -Seed argument. The following tag encrypts a phrase using a whimsical -Seed argument.

[Encrypt_Blowfish: -Seed='I sell seashells down by the sea shore!',
  'The quick brown fox jumped over the lazy dog.']
Result:
747e9c7f6224cb25bc907069c0783a71
aa3a5d03c3face5ec36def28b930f12e7
bf5df88ff3c76e399b0845655f9707c
Tag Link [Encrypt_BlowFish] Category Encryption
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft