public static enum Hash.Algorithm extends Enum<Hash.Algorithm>
Enum Constant and Description |
---|
BLAKE2b_256 |
BLAKE2b_384 |
BLAKE2b_512 |
BLAKE3 |
MD5 |
SHA_256 |
SHA_384 |
SHA_512 |
SHA1 |
SHA3_256 |
SHA3_384 |
SHA3_512 |
Modifier and Type | Method and Description |
---|---|
static Hash.Algorithm |
fromSpec(String spec) |
String |
getSpec() |
static Hash.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hash.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hash.Algorithm MD5
public static final Hash.Algorithm SHA1
public static final Hash.Algorithm SHA_256
public static final Hash.Algorithm SHA_384
public static final Hash.Algorithm SHA_512
public static final Hash.Algorithm SHA3_256
public static final Hash.Algorithm SHA3_512
public static final Hash.Algorithm SHA3_384
public static final Hash.Algorithm BLAKE2b_256
public static final Hash.Algorithm BLAKE2b_384
public static final Hash.Algorithm BLAKE2b_512
public static final Hash.Algorithm BLAKE3
public static Hash.Algorithm[] values()
for (Hash.Algorithm c : Hash.Algorithm.values()) System.out.println(c);
public static Hash.Algorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSpec()
public static Hash.Algorithm fromSpec(String spec)
Copyright © 2017–2025 OWASP Foundation. All rights reserved.