food_server/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea
2024-05-30 19:16:59 +08:00
..
test init 2024-05-30 19:16:59 +08:00
config.m4 init 2024-05-30 19:16:59 +08:00
config.w32 init 2024-05-30 19:16:59 +08:00
CREDITS init 2024-05-30 19:16:59 +08:00
INSTALL init 2024-05-30 19:16:59 +08:00
LICENSE init 2024-05-30 19:16:59 +08:00
php_xxtea.c init 2024-05-30 19:16:59 +08:00
php_xxtea.dsp init 2024-05-30 19:16:59 +08:00
php_xxtea.h init 2024-05-30 19:16:59 +08:00
php_xxtea.sln init 2024-05-30 19:16:59 +08:00
php_xxtea.vcproj init 2024-05-30 19:16:59 +08:00
README init 2024-05-30 19:16:59 +08:00
xxtea.c init 2024-05-30 19:16:59 +08:00
xxtea.h init 2024-05-30 19:16:59 +08:00

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.