dspx15491 2014-07-31 15:15
浏览 133
已采纳

如何保护Golang源代码

Actually, I'm a PHP developer. I want to sell my PHP product.

So, I want to protect some major source code in PHP. But it's impossible in PHP.

I know Golang also. So, I want to to build secret algorithm in golang code and compile into binary.

Finally I want to protect my PHP major algorithm with PHP code && binary program.

My doubt is:

When I'm compiling golang source code into binary file. Is it possible to grab golang source code from binary file ?

  • 写回答

2条回答 默认 最新

  • douyan9398 2014-07-31 15:19
    关注

    No, if they really really want to, they can disassemble the binary and guess what the algorithm does from the assembly, this however, applies to all languages.

    If it runs, it can be disassembled and it can be broken.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?