|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Hash
A Cryptographic Hash represents a one-way conversion algorithm that transforms an input source to an
underlying byte array.
AbstractHash,
Md2Hash,
Md5Hash,
Sha1Hash,
Sha256Hash,
Sha384Hash,
Sha512Hash| Method Summary | |
|---|---|
byte[] |
getBytes()
Returns this Hash's byte array, that is, the hashed value of the original input source. |
String |
toBase64()
Returns a Base64 encoding of this Hash's byte array. |
String |
toHex()
Returns a Hex encoding of this Hash's byte array. |
| Method Detail |
|---|
byte[] getBytes()
toHex(),
toBase64()String toHex()
byte array.
byte array.String toBase64()
byte array.
byte array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||