|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.logicalcobwebs.xxtea.XXTEA
public final class XXTEA
| 方法摘要 | |
|---|---|
static byte[] |
decrypt(byte[] data,
byte[] key)
Decrypt data with key. |
static int[] |
decrypt(int[] v,
int[] k)
Decrypt data with key. |
static String |
decrypt(String data,
String key)
|
static byte[] |
encrypt(byte[] data,
byte[] key)
Encrypt data with key. |
static int[] |
encrypt(int[] v,
int[] k)
Encrypt data with key. |
static String |
encrypt(String data,
String key)
|
static byte[] |
getBytes(char[] chars)
|
static char[] |
getChars(byte[] bytes)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static byte[] getBytes(char[] chars)
public static char[] getChars(byte[] bytes)
public static String encrypt(String data,
String key)
throws UnsupportedEncodingException
UnsupportedEncodingException
public static String decrypt(String data,
String key)
throws UnsupportedEncodingException,
Exception
UnsupportedEncodingException
Exception
public static byte[] encrypt(byte[] data,
byte[] key)
data - key -
public static byte[] decrypt(byte[] data,
byte[] key)
data - key -
public static int[] encrypt(int[] v,
int[] k)
v - k -
public static int[] decrypt(int[] v,
int[] k)
v - k -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||