|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.MessageDigestSpi | +--java.security.MessageDigest | +--cryptix.provider.md.RIPEMD160
Implements the RIPEMD160 message digest algorithm in Java as per the reference below.
References:
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
Inner classes inherited from class java.security.MessageDigest |
java.security.MessageDigest.Delegate |
Constructor Summary | |
RIPEMD160()
|
Method Summary | |
java.lang.Object |
clone()
Return a copy of this MD object. |
protected byte[] |
engineDigest()
Complete the hash computation by performing final operations such as padding. |
protected int |
engineGetDigestLength()
SPI: Returns the digest length in bytes. |
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. |
void |
engineUpdate(byte[] input,
int offset,
int len)
RIPEMD160 block update operation. |
static LinkStatus |
getLinkStatus()
|
Methods inherited from class java.security.MessageDigest |
digest, digest, digest, getAlgorithm, getDigestLength, getInstance, getInstance, getProvider, isEqual, reset, toString, update, update, update |
Methods inherited from class java.security.MessageDigestSpi |
engineDigest |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public RIPEMD160()
Method Detail |
public static LinkStatus getLinkStatus()
public java.lang.Object clone()
clone
in class java.security.MessageDigest
protected void engineReset()
engineReset
in class java.security.MessageDigestSpi
protected void engineUpdate(byte input)
engineUpdate
in class java.security.MessageDigestSpi
public void engineUpdate(byte[] input, int offset, int len)
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.
engineUpdate
in class java.security.MessageDigestSpi
input
- input blockoffset
- start of meaningful bytes in inputlen
- count of bytes in input block to considerprotected byte[] engineDigest()
engineDigest
in class java.security.MessageDigestSpi
protected int engineGetDigestLength()
engineGetDigestLength
in class java.security.MessageDigestSpi
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |