public class SparkleDigest extends java.lang.Object implements ExtendedDigest
Modifier and Type | Class and Description |
---|---|
static class |
SparkleDigest.Friend |
static class |
SparkleDigest.SparkleParameters |
Constructor and Description |
---|
SparkleDigest(SparkleDigest.SparkleParameters sparkleParameters) |
Modifier and Type | Method and Description |
---|---|
int |
doFinal(byte[] output,
int outOff)
close the digest, producing the final digest value.
|
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 input)
update the message digest with a single byte.
|
void |
update(byte[] in,
int inOff,
int len)
update the message digest with a block of bytes.
|
public SparkleDigest(SparkleDigest.SparkleParameters sparkleParameters)
public java.lang.String getAlgorithmName()
Digest
getAlgorithmName
in interface Digest
public int getDigestSize()
Digest
getDigestSize
in interface Digest
public int getByteLength()
ExtendedDigest
getByteLength
in interface ExtendedDigest
public void update(byte input)
Digest
public void update(byte[] in, int inOff, int len)
Digest
public int doFinal(byte[] output, int outOff)
Digest