Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to "Hide" your tcl/tk code?

Status
Not open for further replies.

erixire

Technical User
Jun 4, 2002
72
CA
Hi,

I wanted to know if it's possible to hide the tcl/tk script (by compiling or something)? Because I want to put some password inside my Tcl/Tk script and of course, do not want the others users to see them (under Windows).

Thanks
 
There are a few possibilities that you might want to explore. As I so often do, I'd suggest starting with the Tcl'ers Wiki, particularly with the pages "How can I compile Tcl type scripts into binary code," and "Transforming Tcl scripts into binary code," These provide an overview of the different strategies and technologies for compilation and obfuscation. Depending on your overall needs, you might find a solution better suited to your situation than those I'll mention below.

TclPro Compiler was written specifically to obfuscate Tcl code. (It's unfortunately misnamed, as it doesn't really compile the code into binary format.) You can find out more about TclPro Compiler at the Wiki page "TclPro," and at and
Another option you might want to consider is Freewrap. The primary purpose of Freewrap is to take one or more Tcl scripts and accompanying support files and transform them into a single-file executable program. However, Freewrap also (by default) encrypts the scripts it wraps. You can find out more about Freewrap at the Wiki page "Freewrap," and at - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top