public static enum Hasher.Algorithm extends Enum<Hasher.Algorithm>
| Enum Constant and Description |
|---|
MD5
Message Digest Algorithm - 128 bit
|
SHA1
Secure Hash Algorithm - 160 bit
|
SHA256
Secure Hash Algorithm - 256 bit
|
SHA512
Secure Hash Algorithm - 512 bit
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Hasher.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hasher.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hasher.Algorithm MD5
public static final Hasher.Algorithm SHA1
public static final Hasher.Algorithm SHA256
public static final Hasher.Algorithm SHA512
public static Hasher.Algorithm[] values()
for (Hasher.Algorithm c : Hasher.Algorithm.values()) System.out.println(c);
public static Hasher.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 toString()
toString in class Enum<Hasher.Algorithm>Copyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.