Modifier and Type | Method and Description |
---|---|
int |
doFinal(byte[] out,
int outOff)
close the digest, producing the final digest value.
|
static Prehash |
forDigest(Digest digest) |
java.lang.String |
getAlgorithmName()
return the algorithm name
|
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[] in,
int inOff,
int len)
update the message digest with a block of bytes.
|
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[] in, int inOff, int len)
Digest
public int doFinal(byte[] out, int outOff)
Digest