Code: Select all
set text [encrypt $key $text] <- encrypts $text with $key
set text [decrypt $key $text] <- decrypts $text with $key
I repeat: bytecode compilation is NOT encryption. A .tbc file holds an (ascii-85) encoded version of the compiled script. All normal tcl scripts are compiled when you load them, and what your interpreter runs internally is this compiled version of the code. The string returned by 'info body' is a copy of the original source, not the actual code running in your interpreter.GodOfSuicide wrote:yeah, but maybe it would have been decrypted on the fly...wouldnt be secure at all, i know.strikelight wrote:As for if 'info <arg>' would work for byteencoded scripts, no, it would not work, as the TCL is obliterated and turned into simpler machine code. Hence the term "ByteCode Compiler"...
What's your point? bytecode compiling == encryption because there's no script kiddie tool avaliable to decode it?KrzychuG wrote:May not be so hard, but I think that there is no program which can do that (decompile it to human readable form).