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