The MD4 algorithm is very weak and should not be used unless it is unavoidable. Therefore, it is not registered in our standard providers. To obtain an implementation, call the static getInstance() method in this class.
| Modifier and Type | Field and Description |
|---|---|
| private static final Provider | |
| 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[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides sun. Returns a clone if the implementation is cloneable. |
| private static int | |
| public static MessageDigest | |
| private static int | |
| private static int | |
| pack-priv void | implCompress(byte[] buf, int ofs)
Implements abstract sun. This is where the functions come together as the generic MD4 transformation operation. |
| pack-priv void | implDigest(byte[] out, int ofs)
Implements abstract sun. Perform the final computations, any buffered bytes are added to the digest, the count is added to the digest, and the resulting digest is stored. |
| pack-priv void | implReset()
Implements abstract sun. Reset the state of this object. |
| private void |
| md4Provider | back to summary |
|---|---|
| private static final Provider md4Provider | |
| 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 | |
| state | back to summary |
|---|---|
| private int[] state | |
| MD4 | back to summary |
|---|---|
| public MD4() | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides sun. Doc from java. Returns a clone if the implementation is cloneable.
| |
| FF | back to summary |
|---|---|
| private static int FF(int a, int b, int c, int d, int x, int s) | |
| getInstance | back to summary |
|---|---|
| public static MessageDigest getInstance() throws NoSuchAlgorithmException | |
| GG | back to summary |
|---|---|
| private static int GG(int a, int b, int c, int d, int x, int s) | |
| HH | back to summary |
|---|---|
| private static int HH(int a, int b, int c, int d, int x, int s) | |
| implCompress | back to summary |
|---|---|
| pack-priv void implCompress(byte[] buf, int ofs) Implements abstract sun. This is where the functions come together as the generic MD4 transformation operation. It consumes sixteen bytes from the buffer, beginning at the specified offset. | |
| implDigest | back to summary |
|---|---|
| pack-priv void implDigest(byte[] out, int ofs) Implements abstract sun. Perform the final computations, any buffered bytes are added to the digest, the count is added to the digest, and the resulting digest is stored. | |
| implReset | back to summary |
|---|---|
| pack-priv void implReset() Implements abstract sun. Reset the state of this object. | |
| resetHashes | back to summary |
|---|---|
| private void resetHashes() | |