Please enable JavaScript to view this site.

Knowledge Base

Save a copy of the specified script file in an encrypted format. The new file will have a .lsfx file extension. Encrypting a script allows a script to be shared with others, without allowing them to see the contents of the script.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

encryptscript("filename.lsf");

Encrypt a copy of the script. The new file will be named "filename.lsfx".

encryptscript("filename.lsf", "new_filename");

Specify an alternate file name.

 

Example

If the script file is already encrypted, user can run the script file by entering the name of the file in the Script Prompt. However, user will not be able to see the content of the file.

filename # it will run the encrypted script file filename.lsfx

 

See Also

System level

Copyright Lumerical Inc. | Privacy | Site Map