gnu.crypto.hash
public class MD4 extends BaseHash
An implementation of Ron Rivest's MD4 message digest algorithm.
MD4 was the precursor to the stronger MD5 algorithm, and while not considered cryptograpically secure itself, MD4 is in use in various applications. It is slightly faster than MD5.
References:
Version: $Revision: 1.6 $
Constructor Summary | |
---|---|
MD4() Public constructor. |
Method Summary | |
---|---|
Object | clone() |
protected byte[] | getResult() |
protected byte[] | padBuffer() |
protected void | resetContext() |
boolean | selfTest() |
protected void | transform(byte[] in, int i) |
Public constructor. Initializes the chaining variables, sets the byte
count to 0
, and creates a new block of 512
bits.