« Return to the main article
To encode and decode a file do the following:
1) Take the "Base64.lss" file and create a new Agent out of it.
2) Then look under the sub Initialize and notice the 2 last statements in this
If you want to decode a file, just change the "d:\test.jpg" to the desired
file. Then change the "d:\test.enc" to the desired output file.
The same is true for the decode statement line.
Note: When pasting the *.lss file into an agent you might need to rename the
variable "replace" to something like "replaceStr".