如何保护我的代码? [英] How to protect my code?

查看:75
本文介绍了如何保护我的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我想知道是否使用混淆器来保护我的代码。你怎么看待这件事。我在这里发现了很多意见,但它们似乎过时了

Hello!
I would like to know whether to use obfuscator to protect my code. What do you think about it. I have found many opinions here, but they seems outdated

推荐答案

意大利面代码是一个很棒的混淆器!

有一些简单的方法可以混淆代码供另一个程序员阅读。最近阅读了其中一种方法:将代码分解为多个文件,每个文件中的函数尽可能少。在每个文件中重用相同的变量名称,但具有完全不同的含义。

您可以为变量指定一个意外的名称。这令人困惑!但它也可能对你有害。

但是如果你想使用混淆器,请小心。一些混淆器使代码的后续维护变得复杂。
Pasta code is a great obfuscator!
There are simple ways to confuse the code for reading by another programmer. Recently read one of the ways: Break your code into multiple files with as few functions as possible in each. In each file reuse the same variable names, but for utterly different meanings.
You can give variables an unexpected name. This is confusing! But it can be harmful for you too.
But if you want to use obfuscators, be careful. Some obfuscators complicate the subsequent maintenance of the code.


我认为混淆变量名称并不适合我。这会误导我。问题不是让代码简直不可读。并保护您的代码不被他人使用。
I think confusing variable names does not suit me. This will mislead me. The question is not to make the code simply unreadable. And to protect your code from being used by others.


尝试使用它!


这篇关于如何保护我的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆