Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.4 $
- Author:
- Raif S. Naffah, David Hopwood
-
HAVAL()
-
-
clone()
- Returns a copy of this MD object.
-
engineDigest()
- Completes the hash computation by performing final operations such
as padding.
-
engineGetDigestLength()
- SPI: Returns the digest length in bytes.
-
engineGetParameter(String)
-
-
engineReset()
- Resets this object disregarding any temporary data present at the
time of the invocation of this call.
-
engineSetParameter(String, Object)
-
-
engineUpdate(byte)
- Continues a HAVAL message digest using the input byte.
-
engineUpdate(byte[], int, int)
- Hashes a byte array from a given offset for a specified length.
-
getLinkStatus()
-
-
getParameter(String)
-
-
setBitLength(int)
- Sets the output length of this HAVAL object in bits, resetting all
internal variables.
-
setDigestLength(int)
- Sets the output length of this HAVAL object in bytes, resetting all
internal variables.
-
setParameter(String, Object)
-
-
setPasses(int)
- Sets the number of passes for this HAVAL object, resetting all
internal variables.
HAVAL
public HAVAL()
getLinkStatus
public static LinkStatus getLinkStatus()
clone
public Object clone()
- Returns a copy of this MD object.
- Overrides:
- clone in class MessageDigest
engineReset
protected void engineReset()
- Resets this object disregarding any temporary data present at the
time of the invocation of this call.
- Overrides:
- engineReset in class MessageDigest
engineUpdate
protected void engineUpdate(byte input)
- Continues a HAVAL message digest using the input byte.
- Overrides:
- engineUpdate in class MessageDigest
engineUpdate
protected void engineUpdate(byte input[],
int offset,
int len)
- Hashes a byte array from a given offset for a specified length.
to be used in conjunction with engineReset() and finish().
- Parameters:
- input - byte array from which data is to be hashed.
- offset - start index of bytes to hash in input.
- len - number of bytes to hash.
- Overrides:
- engineUpdate in class MessageDigest
engineDigest
protected byte[] engineDigest()
- Completes the hash computation by performing final operations such
as padding. At the return of this engineDigest, the MD engine is
reset.
- Returns:
- the array of bytes for the resulting hash value.
- Overrides:
- engineDigest in class MessageDigest
engineGetDigestLength
protected int engineGetDigestLength()
- SPI: Returns the digest length in bytes.
setParameter
public void setParameter(String param,
Object value) throws NoSuchParameterException, InvalidParameterException, InvalidParameterTypeException
getParameter
public Object getParameter(String param) throws NoSuchParameterException, InvalidParameterException
engineSetParameter
protected void engineSetParameter(String param,
Object value) throws NoSuchParameterException, InvalidParameterException, InvalidParameterTypeException
engineGetParameter
protected Object engineGetParameter(String param) throws NoSuchParameterException, InvalidParameterException
setPasses
public void setPasses(int p)
- Sets the number of passes for this HAVAL object, resetting all
internal variables.
setBitLength
public void setBitLength(int len)
- Sets the output length of this HAVAL object in bits, resetting all
internal variables.
setDigestLength
public void setDigestLength(int len)
- Sets the output length of this HAVAL object in bytes, resetting all
internal variables.
All Packages Class Hierarchy This Package Previous Next Index