Encryption

You can encrypt user and password information stored in MaxL scripts.

The following MaxL Shell invocation generates a public-private key pair that you can use to encrypt a MaxL script.

essmsh -gk

The following MaxL Shell invocation encrypts the input MaxL script, obscuring user name and password, and changing the file extension to .mxls.

essmsh -E scriptname.mxl PUBLIC-KEY

Nested scripts are also encrypted. To avoid this and encrypt only the base script, use -Em.

The following MaxL Shell invocation decrypts and executes the MaxL script.

essmsh -D scriptname.mxls PRIVATE-KEY

The following invocation encrypts input data and returns it in encrypted form. This is useful if there is a need to manually prepare secure scripts.

essmsh -ep DATA PUBLIC-KEY

The following invocation enables you to encrypt the base script while saving any nested scripts for manual encryption.

essmsh –Em scriptname.mxl PUBLIC-KEY