Update

Update

public void Update(int i)

Update buffer with a single integer (only & 0xff part is used,
as a byte)

Parameters:

i - Integer value, which is then converted to
byte as i & 0xff

Final

public byte[] Final()

Returns array of bytes (16 bytes) representing hash as of the
current state of this object. Note: getting a hash does not
invalidate the hash object, it only creates a copy of the real
state which is finalized.

Returns:

Array of 16 bytes, the hash of all updated bytes

asHex

public static java.lang.String asHex(byte[] hash)

Turns array of bytes into string representing each byte as
unsigned hex number.