jichaobo dbad24630b 正式代码提交 2 年 前
..
test dbad24630b 正式代码提交 2 年 前
CREDITS dbad24630b 正式代码提交 2 年 前
INSTALL dbad24630b 正式代码提交 2 年 前
LICENSE dbad24630b 正式代码提交 2 年 前
README dbad24630b 正式代码提交 2 年 前
config.m4 dbad24630b 正式代码提交 2 年 前
config.w32 dbad24630b 正式代码提交 2 年 前
php_xxtea.c dbad24630b 正式代码提交 2 年 前
php_xxtea.dsp dbad24630b 正式代码提交 2 年 前
php_xxtea.h dbad24630b 正式代码提交 2 年 前
php_xxtea.sln dbad24630b 正式代码提交 2 年 前
php_xxtea.vcproj dbad24630b 正式代码提交 2 年 前
xxtea.c dbad24630b 正式代码提交 2 年 前
xxtea.h dbad24630b 正式代码提交 2 年 前

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.