Enum Class PwHash.Alg

java.lang.Object
java.lang.Enum<PwHash.Alg>
com.codevasp.lazysodium.interfaces.PwHash.Alg
All Implemented Interfaces:
Serializable, Comparable<PwHash.Alg>, Constable
Enclosing interface:
PwHash

public static enum PwHash.Alg extends Enum<PwHash.Alg>
  • Enum Constant Details

    • PWHASH_ALG_ARGON2I13

      public static final PwHash.Alg PWHASH_ALG_ARGON2I13
    • PWHASH_ALG_ARGON2ID13

      public static final PwHash.Alg PWHASH_ALG_ARGON2ID13
  • Method Details

    • values

      public static PwHash.Alg[] 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 PwHash.Alg 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
    • getValue

      public int getValue()
    • getDefault

      public static PwHash.Alg getDefault()
    • valueOf

      public static PwHash.Alg valueOf(int alg)
      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:
      alg - 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