郑晓宇 6a7859eaef 更新 6 年之前
..
test 6a7859eaef 更新 6 年之前
CREDITS 6a7859eaef 更新 6 年之前
INSTALL 6a7859eaef 更新 6 年之前
LICENSE 6a7859eaef 更新 6 年之前
README 6a7859eaef 更新 6 年之前
config.m4 6a7859eaef 更新 6 年之前
config.w32 6a7859eaef 更新 6 年之前
php_xxtea.c 6a7859eaef 更新 6 年之前
php_xxtea.dsp 6a7859eaef 更新 6 年之前
php_xxtea.h 6a7859eaef 更新 6 年之前
php_xxtea.sln 6a7859eaef 更新 6 年之前
php_xxtea.vcproj 6a7859eaef 更新 6 年之前
xxtea.c 6a7859eaef 更新 6 年之前
xxtea.h 6a7859eaef 更新 6 年之前

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.