@ThreadSafe public static enum CryptographicHashUtil.Algorithms extends Enum<CryptographicHashUtil.Algorithms>
CryptographicHashUtil.getHexHash(String, Algorithms).| Enum Constant and Description |
|---|
SHA1
SHA1 algorithm.
|
SHA256
SHA-256 algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
static CryptographicHashUtil.Algorithms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptographicHashUtil.Algorithms[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptographicHashUtil.Algorithms SHA256
public static final CryptographicHashUtil.Algorithms SHA1
public static CryptographicHashUtil.Algorithms[] values()
for (CryptographicHashUtil.Algorithms c : CryptographicHashUtil.Algorithms.values()) System.out.println(c);
public static CryptographicHashUtil.Algorithms valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null