Enum Class HashType

java.lang.Object
java.lang.Enum<HashType>
eu.locklogin.api.encryption.HashType
All Implemented Interfaces:
Serializable, Comparable<HashType>, Constable

public enum HashType extends Enum<HashType>
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.]

  • Enum Constant Details

    • LS_SHA256

      public static final HashType LS_SHA256
      LockLogin compatible hash type
    • SHA256

      public static final HashType SHA256
      LockLogin compatible hash type
    • SHA512

      public static final HashType SHA512
      LockLogin compatible hash type
    • BCrypt

      public static final HashType BCrypt
      LockLogin compatible hash type
    • BCryptPHP

      public static final HashType BCryptPHP
      LockLogin compatible hash type
    • ARGON2I

      public static final HashType ARGON2I
      LockLogin compatible hash type
    • ARGON2ID

      public static final HashType ARGON2ID
      LockLogin compatible hash type
    • AUTHME_SHA

      public static final HashType AUTHME_SHA
      LockLogin compatible hash type
    • UNKNOWN

      public static final HashType UNKNOWN
      LockLogin unknown hash type
    • NONE

      public static final HashType NONE
      No encryption type
  • Method Details

    • values

      public static HashType[] 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

      public static HashType valueOf(String name)
      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 name
      NullPointerException - if the argument is null