| uk.org.ponder.hashutil.Hasher
All known Subclasses: uk.org.ponder.hashutil.CRC32,
Hasher | public interface Hasher (Code) | | This interface specifies an object capable of incrementally digesting a stream
of bytes in order to produce an integer hash value.
|
Method Summary | |
public int | eat(ByteWrap b) Digests the specified sequence of bytes, and returns the new hash value.
Parameters: b - The bytes to be digested. | public void | reset() Resets this hasher to its initial state. |
eat | public int eat(ByteWrap b)(Code) | | Digests the specified sequence of bytes, and returns the new hash value.
Parameters: b - The bytes to be digested. The new hash value. |
reset | public void reset()(Code) | | Resets this hasher to its initial state.
|
|
|