| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int[] | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Memoable | copy()
Implements org. |
| private void | |
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. |
| private int | |
| private int | |
| public String | getAlgorithmName()
Implements org. |
| public int | getDigestSize()
Implements org. |
| private int | |
| protected void | processBlock()
Implements abstract org. |
| protected void | processLength(long bitLength)
Implements abstract org. |
| protected void | processWord(byte[] in, int inOff)
Implements abstract org. |
| public void | reset()
Overrides org. Implements org. |
| public void | reset(Memoable
an object originally other)copied from an object of the same type as this instance.Implements org. |
| DIGEST_LENGTH | back to summary |
|---|---|
| private static final int DIGEST_LENGTH | |
| H1 | back to summary |
|---|---|
| private int H1 | |
| H2 | back to summary |
|---|---|
| private int H2 | |
| H3 | back to summary |
|---|---|
| private int H3 | |
| H4 | back to summary |
|---|---|
| private int H4 | |
| H5 | back to summary |
|---|---|
| private int H5 | |
| X | back to summary |
|---|---|
| private int[] X | |
| xOff | back to summary |
|---|---|
| private int xOff | |
| Y1 | back to summary |
|---|---|
| private static final int Y1 | |
| Y2 | back to summary |
|---|---|
| private static final int Y2 | |
| Y3 | back to summary |
|---|---|
| private static final int Y3 | |
| Y4 | back to summary |
|---|---|
| private static final int Y4 | |
| SHA1Digest | back to summary |
|---|---|
| public SHA1Digest() Standard constructor | |
| SHA1Digest | back to summary |
|---|---|
| public SHA1Digest(SHA1Digest t) Copy constructor. This will copy the state of the provided message digest. | |
| copy | back to summary |
|---|---|
| public Memoable copy() Implements org. Doc from org. Produce a copy of this object with its configuration and in its current state. The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state. | |
| copyIn | back to summary |
|---|---|
| private void copyIn(SHA1Digest t) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| f | back to summary |
|---|---|
| private int f(int u, int v, int w) | |
| g | back to summary |
|---|---|
| private int g(int u, int v, int w) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| h | back to summary |
|---|---|
| private int h(int u, int v, int w) | |
| processBlock | back to summary |
|---|---|
| protected void processBlock() Implements abstract org. | |
| processLength | back to summary |
|---|---|
| protected void processLength(long bitLength) Implements abstract org. | |
| processWord | back to summary |
|---|---|
| protected void processWord(byte[] in, int inOff) Implements abstract org. | |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. reset the chaining variables | |
| reset | back to summary |
|---|---|
| public void reset(Memoable other) Implements org. Doc from org. Restore a copied object state into this object. Implementations of this method should try to avoid or minimise memory allocation to perform the reset. | |