|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.MessageDigestSpi
org.apache.mina.proxy.utils.MD4
public class MD4
MD4.java - An implementation of Ron Rivest's MD4 message digest algorithm. The MD4 algorithm is designed to be quite fast on 32-bit machines. In addition, the MD4 algorithm does not require any large substitution tables.
MD4 Message-
Digest Algorithm by R. Rivest.| Field Summary | |
|---|---|
static int |
BYTE_BLOCK_LENGTH
The MD4 algorithm block length is 64 bytes wide. |
static int |
BYTE_DIGEST_LENGTH
The MD4 algorithm message digest length is 16 bytes wide. |
| Constructor Summary | |
|---|---|
MD4()
Default constructor. |
|
| Method Summary | |
|---|---|
protected byte[] |
engineDigest()
|
protected int |
engineDigest(byte[] buf,
int offset,
int len)
|
protected int |
engineGetDigestLength()
Returns the digest length in bytes. |
protected void |
engineReset()
|
protected void |
engineUpdate(byte b)
|
protected void |
engineUpdate(byte[] b,
int offset,
int len)
|
| Methods inherited from class java.security.MessageDigestSpi |
|---|
clone, engineUpdate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BYTE_DIGEST_LENGTH
public static final int BYTE_BLOCK_LENGTH
| Constructor Detail |
|---|
public MD4()
| Method Detail |
|---|
protected int engineGetDigestLength()
engineGetDigestLength in class MessageDigestSpiprotected void engineUpdate(byte b)
engineUpdate in class MessageDigestSpi
protected void engineUpdate(byte[] b,
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 MessageDigestSpiDigestExceptionprotected void engineReset()
engineReset in class MessageDigestSpi
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||