de.bb.security
Class RMD160

java.lang.Object
  |
  +--de.bb.security.MessageDigest
        |
        +--de.bb.security.RMD160

public final class RMD160
extends MessageDigest


Constructor Summary
RMD160()
          constructor
 
Method Summary
 java.lang.Object clone()
          clone implementation
protected  byte[] engineDigest()
          Complete the hash computation by performing final operations such as padding.
protected  void engineReset()
          Resets this object disregarding any temporary data present at the time of the invocation of this call.
protected  void engineUpdate(byte input)
          Continue a RIPEMD160 message digest using the input byte.
protected  void engineUpdate(byte[] input, int offset, int len)
          RIPEMD160 block update operation.
 
Methods inherited from class de.bb.security.MessageDigest
digest, digest, getAlgorithm, getInstance, getInstance, hmac, isEqual, reset, rol, update, update, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMD160

public RMD160()
constructor
Method Detail

clone

public java.lang.Object clone()
clone implementation
Overrides:
clone in class MessageDigest
Returns:
a copy of the current object

engineReset

protected final void engineReset()
Resets this object disregarding any temporary data present at the time of the invocation of this call.
Overrides:
engineReset in class MessageDigest

engineUpdate

protected final void engineUpdate(byte input)
Continue a RIPEMD160 message digest using the input byte.
Overrides:
engineUpdate in class MessageDigest
Following copied from class: de.bb.security.MessageDigest
Parameters:
input - the byte to use for the update.

engineUpdate

protected final void engineUpdate(byte[] input,
                                  int offset,
                                  int len)
RIPEMD160 block update operation.

Continue a RIPEMD160 message digest operation, by filling the buffer, transform(ing) data in 512-bit message block(s), updating the variables context and count, and leaving (buffering) the remaining bytes in buffer for the next update or finish.

Overrides:
engineUpdate in class MessageDigest
Parameters:
input - input block
offset - start of meaningful bytes in input
len - count of bytes in input block to consider

engineDigest

protected final byte[] engineDigest()
Complete the hash computation by performing final operations such as padding. At the return of this engineDigest, the MD engine is reset.
Overrides:
engineDigest in class MessageDigest
Returns:
the array of bytes for the resulting hash value.