What inspired this wish list request?
Encrypted scripts with only a "Decrypt Password" can be used to hide passwords or algorithm which needs to be hidden from experienced users.
Our usage would be to create a build task for a JMP add-in which adds a password from an external source into a JSL script and encrypts the script file.
What we need is a method to programmatically encrypt the script file but JSL scripts can only be created using the menu interface "Edit/Encrypt Script...".
What is the improvement you would like to see?
- Either there should be a JSL command that allows to encrypt a script with a decrypt password.
- Or a documentation is provided how the encryption can be achieved externally e.g. using Powershell, C++ or other languages.
The encrypted code looks like
//-e12.1
0,
<length>,<encrypted>
,0,
It should be documented with which methods <encrypted> can be created and what the other parameters are.
Why is this idea important?
The automatic encryption of scripts allows to separate the code from the passwords during the build process.
The passwords can be stored separately, then our automated build process would insert the password in the script code and creates the encrypted code file for the add-in.
@martindemel