|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A general interface for a digest with utility methods to add java types into the digest.
| Method Summary | |
byte[] |
doFinal()
Do the final processing and return the hash. |
void |
putBigInteger(java.math.BigInteger bi)
Update the digest with a BigInteger value. |
void |
putByte(byte b)
Put a single byte into the digest. |
void |
putBytes(byte[] data)
Put a byte array into the digest. |
void |
putBytes(byte[] data,
int offset,
int len)
Put a byte array into the digest |
void |
putInt(int i)
Put an integer into the digest. |
void |
putString(java.lang.String str)
Put a String into the digest. |
void |
reset()
Reset the underlying digest. |
| Method Detail |
public void putBigInteger(java.math.BigInteger bi)
bi - public void putByte(byte b)
b - public void putBytes(byte[] data)
data -
public void putBytes(byte[] data,
int offset,
int len)
data - offset - len - public void putInt(int i)
i - public void putString(java.lang.String str)
str - public void reset()
public byte[] doFinal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||