Package anlavn.hash

Enum Class SHA.Types

java.lang.Object
java.lang.Enum<SHA.Types>
anlavn.hash.SHA.Types
All Implemented Interfaces:
Serializable, Comparable<SHA.Types>, Constable
Enclosing class:
SHA

public static enum SHA.Types extends Enum<SHA.Types>
Họ SHA (Thuật toán băm an toàn) chỉ định một họ gồm 8 hàm băm khác nhau.
  • Enum Constant Details

    • SHA_224

      public static final SHA.Types SHA_224
      Ðầu ra: 224 bit ~ 56 ký tự
    • SHA_256

      public static final SHA.Types SHA_256
      Ðầu ra: 256 bit ~ 64 ký tự
    • SHA_384

      public static final SHA.Types SHA_384
      Ðầu ra: 384 bit ~ 96 ký tự
    • SHA_512

      public static final SHA.Types SHA_512
      Ðầu ra: 512 bit ~ 128 ký tự
    • SHA3_224

      public static final SHA.Types SHA3_224
      Ðầu ra: 224 bit ~ 56 ký tự
    • SHA3_256

      public static final SHA.Types SHA3_256
      Ðầu ra: 256 bit ~ 64 ký tự
    • SHA3_384

      public static final SHA.Types SHA3_384
      Ðầu ra: 384 bit ~ 96 ký tự
    • SHA3_512

      public static final SHA.Types SHA3_512
      Ðầu ra: 512 bit ~ 128 ký tự
  • Method Details

    • values

      public static SHA.Types[] 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 SHA.Types 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