public static enum SecurityTools.HashType extends Enum<SecurityTools.HashType>
A list of the Hash Types to be used for hashing string values in the SecurityTools
class.
Enum Constant and Description |
---|
MD2
MD2.
|
MD5
MD5.
|
SHA1
SHA-1.
|
SHA256
SHA-256.
|
SHA384
SHA-384.
|
SHA512
SHA-512.
|
Modifier and Type | Method and Description |
---|---|
static SecurityTools.HashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityTools.HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityTools.HashType MD2
public static final SecurityTools.HashType MD5
public static final SecurityTools.HashType SHA1
public static final SecurityTools.HashType SHA256
public static final SecurityTools.HashType SHA384
public static final SecurityTools.HashType SHA512
public static SecurityTools.HashType[] values()
for (SecurityTools.HashType c : SecurityTools.HashType.values()) System.out.println(c);
public static SecurityTools.HashType 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 © 2017–2018 J&G CompTech. All rights reserved.