public class AESHelper
extends java.lang.Object
构造器和说明 |
---|
AESHelper() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
byte2hex(byte[] b) |
static byte[] |
decrypt(byte[] content,
java.lang.String password) |
static java.lang.String |
decrypt(java.lang.String content,
java.lang.String password) |
static byte[] |
encrypt(byte[] content,
java.lang.String password) |
static java.lang.String |
encrypt(java.lang.String content,
java.lang.String password) |
public static byte[] encrypt(byte[] content, java.lang.String password)
public static java.lang.String encrypt(java.lang.String content, java.lang.String password)
public static byte[] decrypt(byte[] content, java.lang.String password)
public static java.lang.String decrypt(java.lang.String content, java.lang.String password)
public static java.lang.String byte2hex(byte[] b)