de.flexiprovider.core.md
Class RIPEMD320
java.lang.Object
|
+--java.security.MessageDigestSpi
|
+--de.flexiprovider.api.MessageDigest
|
+--de.flexiprovider.core.md.MDFamilyDigest
|
+--de.flexiprovider.core.md.RIPEMD320
- public final class RIPEMD320
- extends MDFamilyDigest
This class implements the RIPEMD-320 message digest algorithm according to
the Handbook of Applied Cryptography, Menezes, van Oorschot, Vanstone, CRC
Press, 1997, algorithm 9.55
The algorithm has been invented by Hans Dobbertin, and further information
concerning the RIPEMD message digest family can be found at
www.esat.kuleuven.ac.be/~bosselae/ripemd320.html.
- Author:
- Elena Klintsevitch
|
Field Summary |
static java.lang.String |
ALG_NAME
The algorithm name. |
|
Method Summary |
byte[] |
digest()
Compute the digest and reset the engine |
protected void |
processBlock()
process a block of 64 bytes |
void |
reset()
reset the engine to its initial state |
| Methods inherited from class java.security.MessageDigestSpi |
clone, engineDigest |
| Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALG_NAME
public static final java.lang.String ALG_NAME
- The algorithm name.
RIPEMD320
public RIPEMD320()
- Constructor.
reset
public void reset()
- reset the engine to its initial state
- Overrides:
reset in class MessageDigest
digest
public byte[] digest()
- Compute the digest and reset the engine
- Overrides:
digest in class MessageDigest
- Returns:
- the message digest in a byte array
processBlock
protected void processBlock()
- process a block of 64 bytes
- Overrides:
processBlock in class MDFamilyDigest