public final class Digest extends Object
Modifier and Type | Method and Description |
---|---|
String |
base32()
Returns value of this digest as base32 string.
|
String |
base64()
Returns value of this digest as base64 string.
|
boolean |
equals(Object obj)
Tests whether this object equals to another one
|
protected void |
finalize()
Called by garbage collector to free native resources.
|
int |
hashCode()
Returns hash code for this object.
|
HashType |
hashType()
Returns type of hashing algorithm that produced
this digest.
|
String |
hex()
Returns value of this digest as hexadecimal string.
|
byte[] |
raw()
Returns value of this digest as raw bytes.
|
String |
toString()
Returns string representation of this object.
|
public HashType hashType()
public byte[] raw()
Digest
.public String hex()
public String base32()
public String base64()
protected void finalize()
public String toString()
base32()
method was called; otherwise value is the same as returned
by hex()
method.public boolean equals(Object obj)