public final class MessageDigestUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALGO_MD5 |
static String |
ALGO_SHA_1 |
static String |
ALGO_SHA_256 |
Modifier and Type | Method and Description |
---|---|
static byte[] |
createDigest(byte[] input,
String algo) |
static byte[] |
createDigest(String input,
String algo) |
static String |
generate(byte[] input) |
static String |
generate(byte[] input,
String algo) |
public static final String ALGO_SHA_1
public static final String ALGO_SHA_256
public static final String ALGO_MD5
public static String generate(byte[] input)
public static byte[] createDigest(byte[] input, String algo) throws NoSuchAlgorithmException
NoSuchAlgorithmException
Apache CXF