public class Hash
Represents a hash value
| Modifier and Type | Class and Description |
|---|---|
static class |
Hash.Companion |
| Modifier and Type | Field and Description |
|---|---|
static Hash.Companion |
Companion |
| Constructor and Description |
|---|
Hash(Algorithm algorithm,
byte[] value)
Represents a hash value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
static Hash |
fromHex(Algorithm algorithm,
java.lang.String valueAsHex)
Creates a hash from the given hex value
|
Algorithm |
getAlgorithm() |
byte[] |
getValue() |
java.lang.String |
getValueAsHex() |
int |
hashCode() |
java.lang.String |
toString() |
public static Hash.Companion Companion
public Hash(Algorithm algorithm, byte[] value)
Represents a hash value
public java.lang.String getValueAsHex()
public byte[] getValue()
public java.lang.String toString()
public boolean equals(java.lang.Object other)
public int hashCode()
public Algorithm getAlgorithm()