public abstract class GeneralDigest extends Object implements ExtendedDigest
Modifier | Constructor and Description |
---|---|
protected |
GeneralDigest()
Standard constructor
|
protected |
GeneralDigest(GeneralDigest t)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
finish() |
int |
getByteLength()
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
|
protected abstract void |
processBlock() |
protected abstract void |
processLength(long bitLength) |
protected abstract void |
processWord(byte[] in,
int inOff) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doFinal, getAlgorithmName, getDigestSize
protected GeneralDigest()
protected GeneralDigest(GeneralDigest t)
public void update(byte in)
Digest
public void update(byte[] in, int inOff, int len)
Digest
public void finish()
public void reset()
Digest
public int getByteLength()
ExtendedDigest
getByteLength
in interface ExtendedDigest
protected abstract void processWord(byte[] in, int inOff)
protected abstract void processLength(long bitLength)
protected abstract void processBlock()
Copyright © 2015. All rights reserved.