public static class Kangaroo.MarsupilamiFourteen
extends java.lang.Object
Constructor and Description |
---|
MarsupilamiFourteen()
Constructor.
|
MarsupilamiFourteen(CryptoServicePurpose purpose) |
MarsupilamiFourteen(int pLength,
CryptoServicePurpose purpose)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
doFinal(byte[] pOut,
int pOutOffset)
close the digest, producing the final digest value.
|
int |
doFinal(byte[] pOut,
int pOutOffset,
int pOutLen)
Output the results of the final calculation for this digest to outLen number of bytes.
|
int |
doOutput(byte[] pOut,
int pOutOffset,
int pOutLen)
Start outputting the results of the final calculation for this digest.
|
java.lang.String |
getAlgorithmName()
return the algorithm name
|
int |
getByteLength()
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
|
int |
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
|
void |
init(Kangaroo.KangarooParameters pParams)
Initialise the digest.
|
void |
reset()
reset the digest back to it's initial state.
|
void |
update(byte pIn)
update the message digest with a single byte.
|
void |
update(byte[] pIn,
int pInOff,
int pLen)
update the message digest with a block of bytes.
|
public MarsupilamiFourteen()
public MarsupilamiFourteen(int pLength, CryptoServicePurpose purpose)
pLength
- the digest lengthpublic MarsupilamiFourteen(CryptoServicePurpose purpose)
public java.lang.String getAlgorithmName()
Digest
public int getByteLength()
ExtendedDigest
getByteLength
in interface ExtendedDigest
public int getDigestSize()
Digest
getDigestSize
in interface Digest
public void init(Kangaroo.KangarooParameters pParams)
pParams
- the parameterspublic void update(byte pIn)
Digest
public void update(byte[] pIn, int pInOff, int pLen)
Digest
public int doFinal(byte[] pOut, int pOutOffset)
Digest
public int doFinal(byte[] pOut, int pOutOffset, int pOutLen)
Xof
public int doOutput(byte[] pOut, int pOutOffset, int pOutLen)
Xof