@Deprecated public enum HashAlgorithm extends Enum<HashAlgorithm>
Enum Constant and Description |
---|
PBKDF2
Deprecated.
Stronger hashing algorithm, recommended by OWASP as of 2018.
|
SHA512
Deprecated.
The default algorithm for backward compatible systems.
|
Modifier and Type | Method and Description |
---|---|
static HashAlgorithm |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static HashAlgorithm[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashAlgorithm SHA512
public static final HashAlgorithm PBKDF2
public static HashAlgorithm[] values()
for (HashAlgorithm c : HashAlgorithm.values()) System.out.println(c);
public static HashAlgorithm 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 nullCopyright © 2021 Eclipse. All rights reserved.