ELF 2ffa024c4c initial
..
test initial
CREDITS initial
INSTALL initial
LICENSE initial
README initial
config.m4 initial
config.w32 initial
php_xxtea.c initial
php_xxtea.dsp initial
php_xxtea.h initial
php_xxtea.sln initial
php_xxtea.vcproj initial
xxtea.c initial
xxtea.h initial

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.