dream 38810cd654 第一次 11 meses atrás
..
test 38810cd654 第一次 11 meses atrás
CREDITS 38810cd654 第一次 11 meses atrás
INSTALL 38810cd654 第一次 11 meses atrás
LICENSE 38810cd654 第一次 11 meses atrás
README 38810cd654 第一次 11 meses atrás
config.m4 38810cd654 第一次 11 meses atrás
config.w32 38810cd654 第一次 11 meses atrás
php_xxtea.c 38810cd654 第一次 11 meses atrás
php_xxtea.dsp 38810cd654 第一次 11 meses atrás
php_xxtea.h 38810cd654 第一次 11 meses atrás
php_xxtea.sln 38810cd654 第一次 11 meses atrás
php_xxtea.vcproj 38810cd654 第一次 11 meses atrás
xxtea.c 38810cd654 第一次 11 meses atrás
xxtea.h 38810cd654 第一次 11 meses atrás

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.