fr.xephi.authme.security
Enum HashAlgorithm
java.lang.Object
java.lang.Enum<HashAlgorithm>
fr.xephi.authme.security.HashAlgorithm
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HashAlgorithm>
public enum HashAlgorithm
- extends java.lang.Enum<HashAlgorithm>
|
Method Summary |
java.lang.Class<?> |
getclass()
|
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. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MD5
public static final HashAlgorithm MD5
SHA1
public static final HashAlgorithm SHA1
SHA256
public static final HashAlgorithm SHA256
WHIRLPOOL
public static final HashAlgorithm WHIRLPOOL
XAUTH
public static final HashAlgorithm XAUTH
MD5VB
public static final HashAlgorithm MD5VB
PHPBB
public static final HashAlgorithm PHPBB
PLAINTEXT
public static final HashAlgorithm PLAINTEXT
MYBB
public static final HashAlgorithm MYBB
IPB3
public static final HashAlgorithm IPB3
PHPFUSION
public static final HashAlgorithm PHPFUSION
SMF
public static final HashAlgorithm SMF
XENFORO
public static final HashAlgorithm XENFORO
SALTED2MD5
public static final HashAlgorithm SALTED2MD5
JOOMLA
public static final HashAlgorithm JOOMLA
BCRYPT
public static final HashAlgorithm BCRYPT
WBB3
public static final HashAlgorithm WBB3
WBB4
public static final HashAlgorithm WBB4
SHA512
public static final HashAlgorithm SHA512
DOUBLEMD5
public static final HashAlgorithm DOUBLEMD5
PBKDF2
public static final HashAlgorithm PBKDF2
WORDPRESS
public static final HashAlgorithm WORDPRESS
ROYALAUTH
public static final HashAlgorithm ROYALAUTH
CRAZYCRYPT1
public static final HashAlgorithm CRAZYCRYPT1
CUSTOM
public static final HashAlgorithm CUSTOM
values
public static HashAlgorithm[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (HashAlgorithm c : HashAlgorithm.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HashAlgorithm valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getclass
public java.lang.Class<?> getclass()