public class DigesterUtil
extends Object
Constructor and Description |
---|
DigesterUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
digest(ByteBuffer byteBuffer) |
static String |
digest(InputStream inputStream) |
static String |
digest(String text) |
static String |
digest(String algorithm,
ByteBuffer byteBuffer) |
static String |
digest(String algorithm,
InputStream inputStream) |
static String |
digest(String algorithm,
String... text) |
static String |
digestBase64(ByteBuffer byteBuffer) |
static String |
digestBase64(InputStream inputStream) |
static String |
digestBase64(String text) |
static String |
digestBase64(String algorithm,
ByteBuffer byteBuffer) |
static String |
digestBase64(String algorithm,
InputStream inputStream) |
static String |
digestBase64(String algorithm,
String... text) |
static String |
digestHex(ByteBuffer byteBuffer) |
static String |
digestHex(InputStream inputStream) |
static String |
digestHex(String text) |
static String |
digestHex(String algorithm,
ByteBuffer byteBuffer) |
static String |
digestHex(String algorithm,
InputStream inputStream) |
static String |
digestHex(String algorithm,
String... text) |
static byte[] |
digestRaw(ByteBuffer byteBuffer) |
static byte[] |
digestRaw(String text) |
static byte[] |
digestRaw(String algorithm,
ByteBuffer byteBuffer) |
static byte[] |
digestRaw(String algorithm,
InputStream inputStream) |
static byte[] |
digestRaw(String algorithm,
String... text) |
static Digester |
getDigester() |
void |
setDigester(Digester digester) |
public static String digest(ByteBuffer byteBuffer)
public static String digest(InputStream inputStream)
public static String digest(String text)
public static String digest(String algorithm, ByteBuffer byteBuffer)
public static String digest(String algorithm, InputStream inputStream)
public static String digest(String algorithm, String... text)
public static String digestBase64(ByteBuffer byteBuffer)
public static String digestBase64(InputStream inputStream)
public static String digestBase64(String text)
public static String digestBase64(String algorithm, ByteBuffer byteBuffer)
public static String digestBase64(String algorithm, InputStream inputStream)
public static String digestBase64(String algorithm, String... text)
public static String digestHex(ByteBuffer byteBuffer)
public static String digestHex(InputStream inputStream)
public static String digestHex(String text)
public static String digestHex(String algorithm, ByteBuffer byteBuffer)
public static String digestHex(String algorithm, InputStream inputStream)
public static String digestHex(String algorithm, String... text)
public static byte[] digestRaw(ByteBuffer byteBuffer)
public static byte[] digestRaw(String text)
public static byte[] digestRaw(String algorithm, ByteBuffer byteBuffer)
public static byte[] digestRaw(String algorithm, InputStream inputStream)
public static byte[] digestRaw(String algorithm, String... text)
public static Digester getDigester()
public void setDigester(Digester digester)