LassoScript Utility
Basics Browse Detail

[Encrypt_BlowFish]

Tag Link [Encrypt_BlowFish] Category Encryption
Type Substitution Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[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

[Encrypt_BlowFish: -Seed='Password', 'Encrypt Value']

Parameters

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.']

747e9c7f6224cb25bc907069c0783a71
aa3a5d03c3face5ec36def28b930f12e7
bf5df88ff3c76e399b0845655f9707c