public abstract class LongDigest extends Object implements ExtendedDigest, Memoable, EncodableDigest
| Modifier and Type | Field and Description |
|---|---|
protected long |
H1 |
protected long |
H2 |
protected long |
H3 |
protected long |
H4 |
protected long |
H5 |
protected long |
H6 |
protected long |
H7 |
protected long |
H8 |
(package private) static long[] |
K |
protected CryptoServicePurpose |
purpose |
| Modifier | Constructor and Description |
|---|---|
protected |
LongDigest()
Constructor for variable length word
|
protected |
LongDigest(CryptoServicePurpose purpose)
Constructor for variable length word
|
protected |
LongDigest(LongDigest t)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyIn(LongDigest t) |
protected abstract CryptoServiceProperties |
cryptoServiceProperties() |
void |
finish() |
int |
getByteLength()
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
|
protected int |
getEncodedStateSize() |
protected void |
populateState(byte[] state) |
protected void |
processBlock() |
protected void |
processLength(long lowW,
long hiW) |
protected void |
processWord(byte[] in,
int inOff) |
void |
reset()
reset the digest back to it's initial state.
|
protected void |
restoreState(byte[] encodedState) |
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, waitdoFinal, getAlgorithmName, getDigestSizegetEncodedStateprotected long H1
protected long H2
protected long H3
protected long H4
protected long H5
protected long H6
protected long H7
protected long H8
static final long[] K
protected final CryptoServicePurpose purpose
protected LongDigest()
protected LongDigest(CryptoServicePurpose purpose)
protected LongDigest(LongDigest t)
protected void copyIn(LongDigest t)
protected abstract CryptoServiceProperties cryptoServiceProperties()
public void finish()
public int getByteLength()
ExtendedDigestgetByteLength in interface ExtendedDigestprotected int getEncodedStateSize()
protected void populateState(byte[] state)
protected void processBlock()
protected void processLength(long lowW,
long hiW)
protected void processWord(byte[] in,
int inOff)
public void reset()
Digestprotected void restoreState(byte[] encodedState)
public void update(byte in)
Digestpublic void update(byte[] in,
int inOff,
int len)
Digest