public class CryptoUtils
extends java.lang.Object
Constructor and Description |
---|
CryptoUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
desDecrypt(byte[] data,
byte[] key,
byte[] iv) |
static byte[] |
desEncrypt(byte[] data,
byte[] key,
byte[] iv) |
static byte[] |
sha1(java.lang.String str) |