lzj500 f1db9412e2 更新 před 4 roky
..
test f1db9412e2 更新 před 4 roky
CREDITS f1db9412e2 更新 před 4 roky
INSTALL f1db9412e2 更新 před 4 roky
LICENSE f1db9412e2 更新 před 4 roky
README f1db9412e2 更新 před 4 roky
config.m4 f1db9412e2 更新 před 4 roky
config.w32 f1db9412e2 更新 před 4 roky
php_xxtea.c f1db9412e2 更新 před 4 roky
php_xxtea.dsp f1db9412e2 更新 před 4 roky
php_xxtea.h f1db9412e2 更新 před 4 roky
php_xxtea.sln f1db9412e2 更新 před 4 roky
php_xxtea.vcproj f1db9412e2 更新 před 4 roky
xxtea.c f1db9412e2 更新 před 4 roky
xxtea.h f1db9412e2 更新 před 4 roky

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.