public class Util
extends java.lang.Object
Constructor | Description |
---|---|
Util() |
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
fromHexString(java.lang.String s) |
Returns a byte array corresponding to the given number.
|
static java.lang.String |
toHexString(byte[] a) |
Returns a string representing in hexadecimal a digest.
|
public static java.lang.String toHexString(byte[] a)
a
- a digest, as a byte array.a
.public static byte[] fromHexString(java.lang.String s)
s
- the number, as a String.