Module crypt.api

Enum Class UnionWord

java.lang.Object
java.lang.Enum<UnionWord>
io.github.astrapi69.crypt.api.algorithm.UnionWord
All Implemented Interfaces:
Serializable, Comparable<UnionWord>, Constable

public enum UnionWord extends Enum<UnionWord>
The enum UnionWord hold union words for chain algorithms
  • Enum Constant Details

    • And

      public static final UnionWord And
      The And enum value for chain algorithms
    • With

      public static final UnionWord With
      The With enum value for chain algorithms
    • UNKNOWN

      public static final UnionWord UNKNOWN
      The enum constant 'UNKNOWN' if the union word is unknown
  • Field Details

  • Method Details

    • values

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