mirror of
https://e.coding.net/circlecloud/MinecraftAccount.git
synced 2024-11-17 00:58:55 +00:00
2003fda7cb
Signed-off-by: j502647092 <jtb1@163.com>
28 lines
680 B
Plaintext
28 lines
680 B
Plaintext
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. |