| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.bouncycastle.crypto.digests.LongDigest
public abstract class LongDigest
Base class for SHA-384 and SHA-512.
| Field Summary | |
|---|---|
protected  long | 
H1
 | 
protected  long | 
H2
 | 
protected  long | 
H3
 | 
protected  long | 
H4
 | 
protected  long | 
H5
 | 
protected  long | 
H6
 | 
protected  long | 
H7
 | 
protected  long | 
H8
 | 
| Constructor Summary | |
|---|---|
protected  | 
LongDigest()
Constructor for variable length word  | 
protected  | 
LongDigest(LongDigest t)
Copy constructor.  | 
| Method Summary | |
|---|---|
 void | 
finish()
 | 
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 | 
unpackWord(long word,
           byte[] out,
           int outOff)
 | 
 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.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.gudy.bouncycastle.crypto.Digest | 
|---|
doFinal, getAlgorithmName, getDigestSize | 
| Field Detail | 
|---|
protected long H1
protected long H2
protected long H3
protected long H4
protected long H5
protected long H6
protected long H7
protected long H8
| Constructor Detail | 
|---|
protected LongDigest()
protected LongDigest(LongDigest t)
| Method Detail | 
|---|
public void update(byte in)
Digest
update in interface Digestin - the input byte to be entered.
public void update(byte[] in,
                   int inOff,
                   int len)
Digest
update in interface Digestin - the byte array containing the data.inOff - the offset into the byte array where the data starts.len - the length of the data.public void finish()
public void reset()
Digest
reset in interface Digest
protected void processWord(byte[] in,
                           int inOff)
protected void unpackWord(long word,
                          byte[] out,
                          int outOff)
protected void processLength(long lowW,
                             long hiW)
protected void processBlock()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||