Package anlavn.hash
Enum Class SHA.Types
- All Implemented Interfaces:
Serializable
,Comparable<SHA.Types>
,Constable
- Enclosing class:
- SHA
The SHA (Secure Hash Algorithm) Family designates a family of 8 different hash functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOutput: 224 bits ~ 56 charactersOutput: 256 bits ~ 64 charactersOutput: 384 bits ~ 96 charactersOutput: 512 bits ~ 128 charactersOutput: 224 bits ~ 56 charactersOutput: 256 bits ~ 64 charactersOutput: 384 bits ~ 96 charactersOutput: 512 bits ~ 128 characters -
Method Summary
-
Enum Constant Details
-
SHA_224
Output: 224 bits ~ 56 characters -
SHA_256
Output: 256 bits ~ 64 characters -
SHA_384
Output: 384 bits ~ 96 characters -
SHA_512
Output: 512 bits ~ 128 characters -
SHA3_224
Output: 224 bits ~ 56 characters -
SHA3_256
Output: 256 bits ~ 64 characters -
SHA3_384
Output: 384 bits ~ 96 characters -
SHA3_512
Output: 512 bits ~ 128 characters
-
-
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
-