qc.ifish7.com/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea
易焱 ec705f2fa8 Initial commit 2021-04-18 18:51:51 +08:00
..
test Initial commit 2021-04-18 18:51:51 +08:00
CREDITS Initial commit 2021-04-18 18:51:51 +08:00
INSTALL Initial commit 2021-04-18 18:51:51 +08:00
LICENSE Initial commit 2021-04-18 18:51:51 +08:00
README Initial commit 2021-04-18 18:51:51 +08:00
config.m4 Initial commit 2021-04-18 18:51:51 +08:00
config.w32 Initial commit 2021-04-18 18:51:51 +08:00
php_xxtea.c Initial commit 2021-04-18 18:51:51 +08:00
php_xxtea.dsp Initial commit 2021-04-18 18:51:51 +08:00
php_xxtea.h Initial commit 2021-04-18 18:51:51 +08:00
php_xxtea.sln Initial commit 2021-04-18 18:51:51 +08:00
php_xxtea.vcproj Initial commit 2021-04-18 18:51:51 +08:00
xxtea.c Initial commit 2021-04-18 18:51:51 +08:00
xxtea.h Initial commit 2021-04-18 18:51:51 +08:00

README

XXTEA PHP extension

What is it?
-----------------------------------------------
This extension based on xxtea library, which provides a set of functions
for encrypt or decrypt data with XXTEA algorithm.



How to install it?
-----------------------------------------------
See INSTALL for installation instructions.



How to use it?
-----------------------------------------------
string xxtea_encrypt(string data, string key)

Encrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.

string xxtea_decrypt(string data, string key)

Decrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.

string xxtea_info()

Get the version information.