...
This will generateĀ myscript.ebrsĀ
which is the encrypted version of the script.
...
Note
Any .brs file can be encrypted, including those loaded with LIBRARY. Additionally, if any encrypted file is loaded, the BrightScript debugger is disabled for security reasons.