hrjy 36837e7e7d commit преди 2 години
..
test 36837e7e7d commit преди 2 години
CREDITS 36837e7e7d commit преди 2 години
INSTALL 36837e7e7d commit преди 2 години
LICENSE 36837e7e7d commit преди 2 години
README 36837e7e7d commit преди 2 години
config.m4 36837e7e7d commit преди 2 години
config.w32 36837e7e7d commit преди 2 години
php_xxtea.c 36837e7e7d commit преди 2 години
php_xxtea.dsp 36837e7e7d commit преди 2 години
php_xxtea.h 36837e7e7d commit преди 2 години
php_xxtea.sln 36837e7e7d commit преди 2 години
php_xxtea.vcproj 36837e7e7d commit преди 2 години
xxtea.c 36837e7e7d commit преди 2 години
xxtea.h 36837e7e7d commit преди 2 години

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.