encryptfile

Encrypts a script file into a binary executable file based on the file extension.

Syntax

encryptfile(infile,outfile)

Inputs

infile
The path of the file to be encrypted (.oml)
Type: string
Dimension: string
outfile
The destination for the encrypted file. The type of encryption is based on the file extension.
Type: string
Dimension: string

Outputs

Examples

Basic encryptfile example:

encryptfile('infile.oml', 'infile.omc')

Comments

Encrypted OML scripts have a default encryption extension of .omc. For an encrypted file to run, it must have the proper file extension.