You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ELF 2ffa024c4c initial 5 years ago
..
test initial 5 years ago
CREDITS initial 5 years ago
INSTALL initial 5 years ago
LICENSE initial 5 years ago
README initial 5 years ago
config.m4 initial 5 years ago
config.w32 initial 5 years ago
php_xxtea.c initial 5 years ago
php_xxtea.dsp initial 5 years ago
php_xxtea.h initial 5 years ago
php_xxtea.sln initial 5 years ago
php_xxtea.vcproj initial 5 years ago
xxtea.c initial 5 years ago
xxtea.h initial 5 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.