Package eu.locklogin.api.encryption
Enum Class HashType
- All Implemented Interfaces:
Serializable
,Comparable<HashType>
,Constable
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLockLogin compatible hash typeLockLogin compatible hash typeLockLogin compatible hash typeLockLogin compatible hash typeLockLogin compatible hash typeLockLogin compatible hash typeNo encryption typeLockLogin compatible hash typeLockLogin compatible hash typeLockLogin unknown hash type -
Method Summary
-
Enum Constant Details
-
LS_SHA256
LockLogin compatible hash type -
SHA256
LockLogin compatible hash type -
SHA512
LockLogin compatible hash type -
BCrypt
LockLogin compatible hash type -
BCryptPHP
LockLogin compatible hash type -
ARGON2I
LockLogin compatible hash type -
ARGON2ID
LockLogin compatible hash type -
AUTHME_SHA
LockLogin compatible hash type -
UNKNOWN
LockLogin unknown hash type -
NONE
No encryption type
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-