免费的 PHP 加密器,带有密钥或单向加密
我有一个 php 项目,我需要将其部署在多个客户端位置,并且我想加密代码。有没有免费的 php 代码加密器?我不想安装任何单独的库。
基本上我想要类似 this 的东西。
eval(gzinflate(base64_decode(
)
但问题是我们可以使用 这个。
是否有任何加密器会使用密钥(我不想将此密钥放在客户端)来转换代码,以便只有我才能解密代码而不是最终用户?或者是有没有一种加密方式(客户端根本无法解密)?我在发布之前已在该网站中搜索过,但找不到任何解决方案。
I have a php project and which I need to deploy in multiple client location and I want to encrypt the code. Is there any free php code encrypter ? I don't want to install any separate libraries.
Basically I want something like this.
eval(gzinflate(base64_decode(
But the problem with this is we can decrypt back this code using this.
Is there any encrypter which will use a key (I dont want to place this key in client side) to convert the code so that only I can decrypt the code not by the end user ? Or Is there any one way encryption (which the client could not able to decrypt at all) ? I have searched in this site before posting and I could not find any solution. Plz guide me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
任何加密都将依赖于 php 扩展来解释某种字节代码。我只知道像SourceGuardian这样的商业加密器。
大多数人建议通过与客户的许可协议来保护代码。这是基于某种类型的信任,但应该可以解决很多问题,例如在您不可用的情况下客户可以对程序进行维护。
Any encryption will rely on a php extension to interpret some kind of byte code. I only know about commercial encrypter like SourceGuardian.
Most people suggest to protect code by license agreement with your customer. This is based on some type of trust but should satisfy a lot of problems like what the customer can do with maintanance of the program in case you are unavailable.
Zend Guard 提供不可逆加密。据我所知,没有免费产品可以做到这一点。
Zend Guard offers irreversible encryption. To my knowledge there is no free product which does the same.
几乎所有 PHP“加密器”都可以轻松解密。它们都依赖于相同的缺陷:为了让脚本运行,PHP 需要解析未加密的源代码。如果 PHP 可以获取未加密的源代码,那么用户也可以。
只有少数应用程序(例如 Zend Guard)能够很好地保护 PHP源代码。
Virtually all PHP "encryptors" can be decrypted easily. They all rely on the same flaw: in order for the script to run, PHP needs to parse the unencrypted source code. And if PHP can get the unencrypted source, so can the user.
There are only few applications (like Zend Guard) that do a proper job of protecting PHP source code.
我认为你对免费产品不满意......没有 php 扩展就没有办法安全地编码代码......我会尝试像 Zend Guard 或 ionCube 这样的解码器;)
i think you dont get happy with a free product.. theres no way to do encode code securely whithout a php extension… I would give decoders like Zend Guard or ionCube a try ;)