public enum HashType extends Enum<HashType>
Enum Constant and Description |
---|
AICH
eMule AICH.
|
BTIH
BitTorrent info hash.
|
CRC32
CRC32 checksum.
|
ED2K
EDonkey 2000 hash.
|
EDONR256
EDON-R 256.
|
EDONR512
EDON-R 512.
|
GOST
GOST R 34.11-94.
|
GOST_CRYPTOPRO |
HAS160
HAS-160 hash.
|
MD4
MD4 hash.
|
MD5
MD5 hash.
|
RIPEMD160
RIPEMD-160 hash.
|
SHA1
SHA-1 hash.
|
SHA224
SHA-224 hash.
|
SHA256
SHA-256 hash.
|
SHA384
SHA-384 hash.
|
SHA512
SHA-512 hash.
|
SNEFRU128
Snefru-128 hash.
|
SNEFRU256
Snefru-256 hash.
|
TIGER
Tiger hash.
|
TTH
Tiger tree hash
|
WHIRLPOOL
Whirlpool hash.
|
Modifier and Type | Method and Description |
---|---|
int |
getDigestSize()
Returns size of binary digest for this type.
|
static HashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashType CRC32
public static final HashType MD4
public static final HashType MD5
public static final HashType SHA1
public static final HashType TIGER
public static final HashType TTH
public static final HashType BTIH
public static final HashType ED2K
public static final HashType AICH
public static final HashType WHIRLPOOL
public static final HashType RIPEMD160
public static final HashType GOST
public static final HashType GOST_CRYPTOPRO
public static final HashType HAS160
public static final HashType SNEFRU128
public static final HashType SNEFRU256
public static final HashType SHA224
public static final HashType SHA256
public static final HashType SHA384
public static final HashType SHA512
public static final HashType EDONR256
public static final HashType EDONR512
public static HashType[] values()
for (HashType c : HashType.values()) System.out.println(c);
public static HashType 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 int getDigestSize()