restore sources from PYC [Q]

Tim Peters tim_one at email.msn.com
Sat Apr 17 01:20:02 EDT 1999


[Hoon Yoon]
> What happens if you do NOT want your pyc codes to be reverse
> engineered?

You would have to add a layer of encryption to the .pyc files, and
decryption to the interpreter.  I'm sure the U.S. govt would be delighted to
help <wink>.

> Can you prevent someone from doing this type of rev eng?

Nope.  You can strive to make it more difficult, but you can't stop it.

> Some members in my IT committee always have a problem with this
> ability and often used as excuse to kill any new tech adoption.

How do they feel about old tech?  Like, say, C or C++?  It's no great
achievement to reverse-engineer algorithms from a binary native machine-code
distribution either; in fact, there are a thousand people who can read Intel
machine code in their sleep for everyone who can reverse-engineer .pyc files
<wink>.

unless-you-can-hide-your-code-from-the-cpu-a-human-can-
   watch-it-work-too-ly y'rs  - tim






More information about the Python-list mailing list