python obfuscate

Joshua Landau joshua at landau.ws
Fri Apr 11 02:00:05 EDT 2014


On 11 April 2014 02:29, Wesley <nispray at gmail.com> wrote:
>   Does python has any good obfuscate?

Most other people on the list will point out why such a thing is
mostly pointless and you don't really need it.

However, if this really is your major blocker to using Python, I
suggest compiling with Cython. There are downsides, but untyped Cython
basically compiles the bytecode into C without actually changing the
program, making compatibility really good. It's very difficult to
reverse-engineer, largely because there aren't specialised tools to do
it. But I do warn that it's adding another abstracting step that
doesn't improve - it probably harms - the overall usability of the
product. Further, a determined hacker can circumvent it, much as they
can circumvent everything else.



More information about the Python-list mailing list