vr-shopxo-source/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea
devil_gong 52ee0a394c 小程序安装包生成 2018-11-28 11:07:06 +08:00
..
test 小程序安装包生成 2018-11-28 11:07:06 +08:00
CREDITS 小程序安装包生成 2018-11-28 11:07:06 +08:00
INSTALL 小程序安装包生成 2018-11-28 11:07:06 +08:00
LICENSE 小程序安装包生成 2018-11-28 11:07:06 +08:00
README 小程序安装包生成 2018-11-28 11:07:06 +08:00
config.m4 小程序安装包生成 2018-11-28 11:07:06 +08:00
config.w32 小程序安装包生成 2018-11-28 11:07:06 +08:00
php_xxtea.c 小程序安装包生成 2018-11-28 11:07:06 +08:00
php_xxtea.dsp 小程序安装包生成 2018-11-28 11:07:06 +08:00
php_xxtea.h 小程序安装包生成 2018-11-28 11:07:06 +08:00
php_xxtea.sln 小程序安装包生成 2018-11-28 11:07:06 +08:00
php_xxtea.vcproj 小程序安装包生成 2018-11-28 11:07:06 +08:00
xxtea.c 小程序安装包生成 2018-11-28 11:07:06 +08:00
xxtea.h 小程序安装包生成 2018-11-28 11:07:06 +08:00

README

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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.