|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sf.rhash.Digest
public final class Digest
Message digest.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public HashType hashType()
public byte[] raw()
Digest
.
hex()
,
base32()
,
base64()
public String hex()
raw()
,
base32()
,
base64()
public String base32()
raw()
,
hex()
,
base64()
public String base64()
raw()
,
hex()
,
base32()
protected void finalize()
finalize
in class Object
public String toString()
base32()
method was called; otherwise value is the same as returned
by hex()
method.
toString
in class Object
base32()
,
hex()
public boolean equals(Object obj)
equals
in class Object
obj
- object to compare to
true
if obj
is Digest
instance with the same HashType
and value;
otherwise false
public int hashCode()
hashCode
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |