Creating non-reverse-engineerable Java programs

后端 未结 14 1377
旧巷少年郎
旧巷少年郎 2020-11-29 08:46

Is there a way to deploy a Java program in a format that is not reverse-engineerable?

I know how to convert my application into an executable JAR file, but I want t

14条回答
  •  失恋的感觉
    2020-11-29 09:32

    As someone said above, reverse engineering could always decompile your executable. The only way to protect your source code(or algorithm) is not to distribute your executable.

    separate your application into a server code and a client app, hide the important part of your algorithm in your server code and run it in a cloud server, just distribute the client code which works only as a data getter and senter.

    By this even your client code is decompiled. You are not losing anything.

    But for sure this will decrease the performance and user convenience.

    I think this may not be the answer you are looking for, but just to raise different idea of protecting source code.

提交回复
热议问题