Note
This algorithm is only included for backwards compatability with legacy applications, it's not secure, don't use it for anything new!
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Memoable | copy()
Implements org. |
| private void | |
| protected CryptoServiceProperties | cryptoServiceProperties()
Implements abstract org. |
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. |
| private int | |
| private int | |
| public String | getAlgorithmName()
Implements org. |
| public int | getDigestSize()
Implements org. |
| private int | |
| protected void | |
| protected void | processLength(long bitLength)
Implements abstract org. |
| protected void | processWord(byte[] in, int inOff)
Implements abstract org. |
| public void | reset()
Overrides org. Implements org. |
| public void | reset(Memoable
an object originally other)copied from an object of the same type as this instance.Implements org. |
| private int |
| DIGEST_LENGTH | back to summary |
|---|---|
| private static final int DIGEST_LENGTH | |
| H1 | back to summary |
|---|---|
| private int H1 | |
| H2 | back to summary |
|---|---|
| private int H2 | |
| H3 | back to summary |
|---|---|
| private int H3 | |
| H4 | back to summary |
|---|---|
| private int H4 | |
| S11 | back to summary |
|---|---|
| private static final int S11 | |
| S12 | back to summary |
|---|---|
| private static final int S12 | |
| S13 | back to summary |
|---|---|
| private static final int S13 | |
| S14 | back to summary |
|---|---|
| private static final int S14 | |
| S21 | back to summary |
|---|---|
| private static final int S21 | |
| S22 | back to summary |
|---|---|
| private static final int S22 | |
| S23 | back to summary |
|---|---|
| private static final int S23 | |
| S24 | back to summary |
|---|---|
| private static final int S24 | |
| S31 | back to summary |
|---|---|
| private static final int S31 | |
| S32 | back to summary |
|---|---|
| private static final int S32 | |
| S33 | back to summary |
|---|---|
| private static final int S33 | |
| S34 | back to summary |
|---|---|
| private static final int S34 | |
| X | back to summary |
|---|---|
| private int[] X | |
| xOff | back to summary |
|---|---|
| private int xOff | |
| MD4Digest | back to summary |
|---|---|
| public MD4Digest() | |
| MD4Digest | back to summary |
|---|---|
| public MD4Digest(CryptoServicePurpose purpose) | |
| MD4Digest | back to summary |
|---|---|
| public MD4Digest(MD4Digest t) | |
| copy | back to summary |
|---|---|
| public Memoable copy() Implements org. Doc from org. Produce a copy of this object with its configuration and in its current state. The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state. | |
| copyIn | back to summary |
|---|---|
| private void copyIn(MD4Digest t) | |
| cryptoServiceProperties | back to summary |
|---|---|
| protected CryptoServiceProperties cryptoServiceProperties() Implements abstract org. | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| F | back to summary |
|---|---|
| private int F(int u, int v, int w) | |
| G | back to summary |
|---|---|
| private int G(int u, int v, int w) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| H | back to summary |
|---|---|
| private int H(int u, int v, int w) | |
| processBlock | back to summary |
|---|---|
| protected void processBlock() Implements abstract org. | |
| processLength | back to summary |
|---|---|
| protected void processLength(long bitLength) Implements abstract org. | |
| processWord | back to summary |
|---|---|
| protected void processWord(byte[] in, int inOff) Implements abstract org. | |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. reset the chaining variables to the IV values. | |
| reset | back to summary |
|---|---|
| public void reset(Memoable other) Implements org. Doc from org. Restore a copied object state into this object. Implementations of this method should try to avoid or minimise memory allocation to perform the reset. | |
| rotateLeft | back to summary |
|---|---|
| private int rotateLeft(int x, int n) | |