public class MD4
extends java.security.MessageDigest
implements java.lang.Cloneable
References:
$Revision: 1.4 $
Constructor and Description |
---|
MD4() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a copy of this MD object.
|
byte[] |
engineDigest()
Completes the hash computation by performing final operations such
as padding.
|
void |
engineReset()
Resets this object disregarding any temporary data present at the
time of the invocation of this call.
|
void |
engineUpdate(byte b)
Continues an MD4 message digest using the input byte.
|
void |
engineUpdate(byte[] input,
int offset,
int len)
MD4 block update operation.
|
digest, digest, digest, getAlgorithm, getDigestLength, getInstance, getInstance, getInstance, getProvider, isEqual, reset, toString, update, update, update, update
public java.lang.Object clone()
clone
in class java.security.MessageDigest
public void engineReset()
engineReset
in class java.security.MessageDigestSpi
public void engineUpdate(byte b)
engineUpdate
in class java.security.MessageDigestSpi
public void engineUpdate(byte[] input, int offset, int len)
Continues an MD4 message digest operation, by filling the buffer, transform(ing) data in 512-bit message block(s), updating the variables context and count, and leaving (buffering) the remaining bytes in buffer for the next update or finish.
engineUpdate
in class java.security.MessageDigestSpi
input
- input blockoffset
- start of meaningful bytes in inputlen
- count of bytes in input block to considerpublic byte[] engineDigest()
engineDigest
in class java.security.MessageDigestSpi