| Constructor and Description | 
|---|
| Hash(byte[] hash) | 
| Hash(byte[] hash,
    int offset,
    int length) | 
| Hash(java.lang.String hex) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Hash object) | 
| boolean | equals(java.lang.Object o) | 
| protected byte[] | getBytes() | 
| EUID | getID() | 
| static byte[] | hash(byte[] data) | 
| static byte[] | hash(byte[] data,
    int offset,
    int len) | 
| static byte[] | hash(java.lang.String algorithm,
    byte[] data) | 
| static byte[] | hash(java.lang.String algorithm,
    byte[] data,
    int offset,
    int len) | 
| int | hashCode() | 
| static Hash | random() | 
| byte[] | toByteArray() | 
| java.lang.String | toString() | 
public static final int BYTES
public static final Hash ZERO_HASH
public Hash(byte[] hash)
public Hash(byte[] hash,
            int offset,
            int length)
public Hash(java.lang.String hex)
public static Hash random()
public static byte[] hash(byte[] data)
public static byte[] hash(byte[] data,
                          int offset,
                          int len)
public static byte[] hash(java.lang.String algorithm,
                          byte[] data)
public static byte[] hash(java.lang.String algorithm,
                          byte[] data,
                          int offset,
                          int len)
public byte[] toByteArray()
public int compareTo(Hash object)
compareTo in interface java.lang.Comparable<Hash>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic EUID getID()
protected byte[] getBytes()