增加hprpc第三方库

This commit is contained in:
huangdijia
2015-05-04 17:42:55 +08:00
parent 3c326ba364
commit e8c193310b
35 changed files with 3689 additions and 2 deletions

28
library/vendor/phprpc/pecl/xxtea/README vendored Normal file
View File

@@ -0,0 +1,28 @@
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.