| Enum Constant and Description |
|---|
SHA3_512
SHA3 512
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static HashType |
rawValueOf(int value) |
static boolean |
Validator(HashType hashType,
java.lang.String input)
Validate hash algorithm and hash have desired format
|
static HashType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashType SHA3_512
public static HashType[] values()
for (HashType c : HashType.values()) System.out.println(c);
public static HashType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static HashType rawValueOf(int value)
public static boolean Validator(HashType hashType, java.lang.String input)
hashType - Hash typeinput - Input hashedpublic int getValue()