Skip to content

__mcc_source_decrypt__

miscellaneous · scripts/miscellaneous/__mcc_source_decrypt__.m

: text = __mcc_source_decrypt__ (enc_path)
: text = __mcc_source_decrypt__ (enc_path, key_hex)

Decrypt a Nexus Compiler-style sealed source (.nms) back to plain .m text.

The deployed runtime uses this helper (or mcc packaging glue) to recover source at load. Key resolution matches __mcc_source_encrypt__: optional key_hex, else NEXUS_PFILE_KEY.