public abstract class LongDigest extends Object implements ExtendedDigest
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 |
Modifier | Constructor and Description |
---|---|
protected |
LongDigest()
Constructor for variable length word
|
protected |
LongDigest(LongDigest 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 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.
|
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 long H1
protected long H2
protected long H3
protected long H4
protected long H5
protected long H6
protected long H7
protected long H8
protected LongDigest()
protected LongDigest(LongDigest 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 void processWord(byte[] in, int inOff)
protected void processLength(long lowW, long hiW)
protected void processBlock()
Copyright © 2015. All rights reserved.