Skip to content

PHP source code encrypt module (PHP源码加密模块)

Notifications You must be signed in to change notification settings

LegendZhu/php-beast

 
 

Repository files navigation

  _____  _    _ _____    ____  ______           _____ _______ 
 |  __ \| |  | |  __ \  |  _ \|  ____|   /\    / ____|__   __|
 | |__) | |__| | |__) | | |_) | |__     /  \  | (___    | |   
 |  ___/|  __  |  ___/  |  _ <|  __|   / /\ \  \___ \   | |   
 | |    | |  | | |      | |_) | |____ / ____ \ ____) |  | |   
 |_|    |_|  |_|_|      |____/|______/_/    \_\_____/   |_|   
==============================================================

此模块可以用于商业,
使用DES加密算法加密,
版权归原作者.


使用方法:
=========
修改beast.c文件的authkey加密key, 编译安装,
接着使用beast_encode_file()函数进行加密,
加密后的文件beast模块能自动识别.


编译安装如下:
-------------
$ wget https://github.com/liexusong/php-beast/archive/master.zip
$ unzip master.zip
$ cd php-beast-master
$ phpize
$ ./configure
$ sudo make && make install

编译好之后修改php.ini配置文件, 加入配置项: extension=beast.so, 重启php-fpm

+---------------------------------------------+
|  温馨提示: 1) 缓存设置越大, 效率越高        |
|            2) 可以修改key.c文件中的加密key  |
+---------------------------------------------+

TODO:
-----
* 增加opcode缓存

------------------------------
作者: 列旭松(280259971@qq.com)

我的著作: http://book.jd.com/11123177.html
我的团队: 280259971
我们的团队专注高并发web站点的架构, 如果有合作事宜, 请联系QQ: 280259971
------------------------------

About

PHP source code encrypt module (PHP源码加密模块)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published