Re: deploying a package in human-unreadable form
- To: mathgroup at smc.vnet.net
- Subject: [mg110908] Re: deploying a package in human-unreadable form
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sun, 11 Jul 2010 06:19:02 -0400 (EDT)
On 7/10/10 at 4:00 AM, rschmied at gmail.com (Roman) wrote: >Dear group members, I have written a package (as a *.m) file and >wish to publish it without giving everybody access to the source >code. Is there a way to do this? I have tried using DumpSave, which >goes part of the way by removing the comments from the source code. >But I'd prefer total code obfuscation or compilation. Thanks! Roman Read the documentation for ReadProtected and Encode. Encode can be used to create a file that can be read in using Get or Needs, but cannot be meaningfully read by an external editor. ReadProtected allows things to be defined so that the definitions cannot be viewed by a Mathematica user.