Encode
Encode["source", "dest"] writes an encoded version of the file source to the file dest.
Encode["source", "dest", "key"] produces an encoded file that must be read using Get["dest", "key"].
Examples
Encode a source file:
Encode["mycode.m", "mycode.mx"]Encode with password:
Encode["secret.m", "secret.mx", "mypassword"]Please visit the official Wolfram Language Reference for more details.