jichaobo 3925f8b93d 第一次上传 2 years ago
..
test 3925f8b93d 第一次上传 2 years ago
CREDITS 3925f8b93d 第一次上传 2 years ago
INSTALL 3925f8b93d 第一次上传 2 years ago
LICENSE 3925f8b93d 第一次上传 2 years ago
README 3925f8b93d 第一次上传 2 years ago
config.m4 3925f8b93d 第一次上传 2 years ago
config.w32 3925f8b93d 第一次上传 2 years ago
php_xxtea.c 3925f8b93d 第一次上传 2 years ago
php_xxtea.dsp 3925f8b93d 第一次上传 2 years ago
php_xxtea.h 3925f8b93d 第一次上传 2 years ago
php_xxtea.sln 3925f8b93d 第一次上传 2 years ago
php_xxtea.vcproj 3925f8b93d 第一次上传 2 years ago
xxtea.c 3925f8b93d 第一次上传 2 years ago
xxtea.h 3925f8b93d 第一次上传 2 years ago

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.