|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.MessageDigestSpi
com.ibm.crypto.provider.MD2
public final class MD2
The MD2 class is used to compute an MD2 message digest over a given buffer of bytes. It is an implementation of the RSA Data Security Inc. MD2 algorithim as described in internet RFC 1319.
| Constructor Summary | |
|---|---|
MD2()
Standard constructor, creates a new MD2 instance, allocates its buffers from the heap. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
protected byte[] |
engineDigest()
|
protected int |
engineDigest(byte[] buf,
int offset,
int len)
|
protected int |
engineGetDigestLength()
Return the digest length in bytes |
protected void |
engineReset()
|
protected void |
engineUpdate(byte b)
Update adds the passed byte to the digested data. |
protected void |
engineUpdate(byte[] input,
int offset,
int len)
Update adds the selected part of an array of bytes to the digest. |
void |
init()
Initialize the MD2 information |
| Methods inherited from class java.security.MessageDigestSpi |
|---|
engineUpdate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD2()
| Method Detail |
|---|
public void init()
protected void engineReset()
engineReset in class MessageDigestSpiprotected int engineGetDigestLength()
engineGetDigestLength in class MessageDigestSpiprotected void engineUpdate(byte b)
engineUpdate in class MessageDigestSpi
protected void engineUpdate(byte[] input,
int offset,
int len)
engineUpdate in class MessageDigestSpiprotected byte[] engineDigest()
engineDigest in class MessageDigestSpi
protected int engineDigest(byte[] buf,
int offset,
int len)
throws DigestException
engineDigest in class MessageDigestSpiDigestExceptionpublic Object clone()
clone in class MessageDigestSpi
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||