LassoScript Utility
Basics Browse Detail


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


[Decrypt_BlowFish] decrypts a string. Accepts two parameters, a string to be decrypted and a -Seed keyword with the key or password for the decryption.

The exact same -Seed must be used when decrypting the text as was passed to [Encrypt_BlowFish]. If the seed is forgotten there is no way to retrieve the original value of the encrypted text.


[Decrypt_BlowFish-Seed='Password', 'Decrypt Value']


Required Parameters
Decrypt Value The value to be decrypted.
-Seed The password which will be used to decrypt the string. The same password must have been specified when the data is encrypted.


To decrypt a string that was encrypted using BlowFish:

Use the [Decrypt_BlowFish] tag with the same -Seed parameter that was passed to the [Encrypt_BlowFish] tag when the string was encrypted.

The following example decrypts a phrase that was encrypted using the same whimisical password.

[Decrypt_BlowFish-Seed='I sell seashells down by the sea shore!', 
  '747e9c7f6224cb25bc907069c0783a71aa3a5d03c3face5ec' +   

The quick brown fox jumps over the lazy dog.