mead fabf31924e init 1 year ago
..
test fabf31924e init 1 year ago
CREDITS fabf31924e init 1 year ago
INSTALL fabf31924e init 1 year ago
LICENSE fabf31924e init 1 year ago
README fabf31924e init 1 year ago
config.m4 fabf31924e init 1 year ago
config.w32 fabf31924e init 1 year ago
php_xxtea.c fabf31924e init 1 year ago
php_xxtea.dsp fabf31924e init 1 year ago
php_xxtea.h fabf31924e init 1 year ago
php_xxtea.sln fabf31924e init 1 year ago
php_xxtea.vcproj fabf31924e init 1 year ago
xxtea.c fabf31924e init 1 year ago
xxtea.h fabf31924e init 1 year 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.