All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.provider.md.RIPEMD160

java.lang.Object
   |
   +----java.security.MessageDigest
           |
           +----cryptix.provider.md.RIPEMD160

public class RIPEMD160
extends MessageDigest
implements Cloneable
Implements the RIPEMD160 message digest algorithm in Java as per the reference below.

References:

  1. Hans Dobbertin, Antoon Bosselaers and Bart Preneel, "RIPEMD160: A Strengthened Version of RIPEMD," 18 April 1996. A joint publication by the German Information Security Agency (POB 20 03 63, D-53133 Bonn, Germany) and the Katholieke Universiteit Leuven, ESAT-COSIC (K. Mercierlaan 94, B-3001 Heverlee, Belgium).

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.4 $

Author:
Raif S. Naffah, David Hopwood

Constructor Index

 o RIPEMD160()

Method Index

 o clone()
Return a copy of this MD object.
 o engineDigest()
Complete the hash computation by performing final operations such as padding.
 o engineGetDigestLength()
SPI: Returns the digest length in bytes.
 o engineReset()
Resets this object disregarding any temporary data present at the time of the invocation of this call.
 o engineUpdate(byte)
Continue a RIPEMD160 message digest using the input byte.
 o engineUpdate(byte[], int, int)
RIPEMD160 block update operation.
 o getLinkStatus()

Constructors

 o RIPEMD160
 public RIPEMD160()

Methods

 o getLinkStatus
 public static LinkStatus getLinkStatus()
 o clone
 public Object clone()
Return a copy of this MD object.

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

Overrides:
engineReset in class MessageDigest
 o engineUpdate
 protected void engineUpdate(byte input)
Continue a RIPEMD160 message digest using the input byte.

Overrides:
engineUpdate in class MessageDigest
 o engineUpdate
 public 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.

Parameters:
input - input block
offset - start of meaningful bytes in input
len - count of bytes in input block to consider
Overrides:
engineUpdate in class MessageDigest
 o engineDigest
 protected byte[] engineDigest()
Complete the hash computation by performing final operations such as padding. At the return of this engineDigest, the MD engine is reset.

Returns:
the array of bytes for the resulting hash value.
Overrides:
engineDigest in class MessageDigest
 o engineGetDigestLength
 protected int engineGetDigestLength()
SPI: Returns the digest length in bytes.


All Packages  Class Hierarchy  This Package  Previous  Next  Index