public enum HashAlgorithm extends java.lang.Enum<HashAlgorithm>
Enum Constant | Description |
---|---|
MD5 |
MD5
|
RIPE_MD160 |
RIPEMD-160
|
SHA1 |
SHA-1
|
SHA256 |
SHA-256
|
SHA3_256 |
SHA3-256
|
SHA3_384 |
SHA3-384
|
SHA3_512 |
SHA3-512
|
SHA384 |
SHA-384
|
SHA512 |
SHA-512
|
Modifier and Type | Method | Description |
---|---|---|
static HashAlgorithm |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HashAlgorithm[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashAlgorithm MD5
public static final HashAlgorithm RIPE_MD160
public static final HashAlgorithm SHA1
public static final HashAlgorithm SHA256
public static final HashAlgorithm SHA384
public static final HashAlgorithm SHA512
public static final HashAlgorithm SHA3_256
SHA3-256
is a new hashing algorithm and may not be supported by some applications.public static final HashAlgorithm SHA3_384
SHA3-384
is a new hashing algorithm and may not be supported by some applications.public static final HashAlgorithm SHA3_512
SHA3-512
is a new hashing algorithm and may not be supported by some applications.public static HashAlgorithm[] values()
for (HashAlgorithm c : HashAlgorithm.values()) System.out.println(c);
public static HashAlgorithm 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 null