Package anlavn.hash
Enum Class SHA.Types
- All Implemented Interfaces:
Serializable
,Comparable<SHA.Types>
,Constable
- Enclosing class:
- SHA
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionÐầu ra: 224 bit ~ 56 ký tựÐầu ra: 256 bit ~ 64 ký tựÐầu ra: 384 bit ~ 96 ký tựÐầu ra: 512 bit ~ 128 ký tựÐầu ra: 224 bit ~ 56 ký tựÐầu ra: 256 bit ~ 64 ký tựÐầu ra: 384 bit ~ 96 ký tựÐầu ra: 512 bit ~ 128 ký tự -
Method Summary
-
Enum Constant Details
-
SHA_224
Ðầu ra: 224 bit ~ 56 ký tự -
SHA_256
Ðầu ra: 256 bit ~ 64 ký tự -
SHA_384
Ðầu ra: 384 bit ~ 96 ký tự -
SHA_512
Ðầu ra: 512 bit ~ 128 ký tự -
SHA3_224
Ðầu ra: 224 bit ~ 56 ký tự -
SHA3_256
Ðầu ra: 256 bit ~ 64 ký tự -
SHA3_384
Ðầu ra: 384 bit ~ 96 ký tự -
SHA3_512
Ðầu ra: 512 bit ~ 128 ký tự
-
-
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
-