public class AsconXof extends java.lang.Object implements Xof
Modifier and Type | Class and Description |
---|---|
static class |
AsconXof.AsconParameters |
Constructor and Description |
---|
AsconXof(AsconXof.AsconParameters parameters) |
Modifier and Type | Method and Description |
---|---|
int |
doFinal(byte[] output,
int outOff)
close the digest, producing the final digest value.
|
int |
doFinal(byte[] output,
int outOff,
int outLen)
Output the results of the final calculation for this digest to outLen number of bytes.
|
int |
doOutput(byte[] output,
int outOff,
int outLen)
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 |
reset()
reset the digest back to it's initial state.
|
void |
update(byte in)
update the message digest with a single byte.
|
void |
update(byte[] input,
int inOff,
int len)
update the message digest with a block of bytes.
|
public AsconXof(AsconXof.AsconParameters parameters)
public java.lang.String getAlgorithmName()
Digest
getAlgorithmName
in interface Digest
public int getDigestSize()
Digest
getDigestSize
in interface Digest
public void update(byte in)
Digest
public void update(byte[] input, int inOff, int len)
Digest
public int doOutput(byte[] output, int outOff, int outLen)
Xof
public int doFinal(byte[] output, int outOff)
Digest
public int doFinal(byte[] output, int outOff, int outLen)
Xof
public int getByteLength()
ExtendedDigest
getByteLength
in interface ExtendedDigest