|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HashEngine
Generic hash engine. It does not take care about the way the data to be
hashed is provided (this may be done by, e.g., piping the data through a
stream or, e.g., by supplying the data by means of byte array(s). This
interface only contains one single method, getHash
that must return the hash value calculated on the data.
Method Summary | |
---|---|
byte[] |
getHash()
Gets the calculated hash value. |
byte[] |
getHash(int hashLen)
Gets the calculated hash value of the given length. |
Method Detail |
---|
byte[] getHash()
byte[] getHash(int hashLen) throws java.security.DigestException
hashLen
- the length (in bytes) of the hash value
java.security.DigestException
- if an error occurs when calculating the hash value
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |