No Description

Brightcells: 1db38b5f89 Initial 7 years ago
..
bin 1db38b5f89 Initial 7 years ago
test 1db38b5f89 Initial 7 years ago
CREDITS 1db38b5f89 Initial 7 years ago
INSTALL 1db38b5f89 Initial 7 years ago
LICENSE 1db38b5f89 Initial 7 years ago
README 1db38b5f89 Initial 7 years ago
config.m4 1db38b5f89 Initial 7 years ago
config.w32 1db38b5f89 Initial 7 years ago
php_xxtea.c 1db38b5f89 Initial 7 years ago
php_xxtea.dsp 1db38b5f89 Initial 7 years ago
php_xxtea.h 1db38b5f89 Initial 7 years ago
php_xxtea.sln 1db38b5f89 Initial 7 years ago
php_xxtea.vcproj 1db38b5f89 Initial 7 years ago
xxtea.c 1db38b5f89 Initial 7 years ago
xxtea.h 1db38b5f89 Initial 7 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.