| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private static final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public int | doOutput(byte[]
output array to write the output bytes to. out, int offset to start writing the bytes at. outOff, int the number of output bytes requested. outLen)Overrides org. Implements org. |
| private byte[] | |
| private static byte[] | |
| public void | reset()
Overrides org. Implements org. |
| diff | back to summary |
|---|---|
| private final byte[] diff | |
| padding | back to summary |
|---|---|
| private static final byte[] padding | |
| ZERO_BYTE | back to summary |
|---|---|
| private static final byte[] ZERO_BYTE | |
| CSHAKEDigest | back to summary |
|---|---|
| pack-priv CSHAKEDigest(int bitLength, byte[] N, byte[] S) | |
| diffPadAndAbsorb | back to summary |
|---|---|
| private void diffPadAndAbsorb() | |
| doOutput | back to summary |
|---|---|
| public int doOutput(byte[] out, int outOff, int outLen) Overrides org. Implements org. Doc from org. Start outputting the results of the final calculation for this digest. Unlike doFinal, this method will continue producing output until the Xof is explicitly reset, or signals otherwise.
| |
| encodeString | back to summary |
|---|---|
| private byte[] encodeString(byte[] str) | |
| leftEncode | back to summary |
|---|---|
| private static byte[] leftEncode(long strLen) | |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. Doc from org. reset the digest back to it's initial state. | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasTestPassed(Digest digest)
Implements org. |
| kat | back to summary |
|---|---|
| private final byte[] kat | |
| stdShaVector | back to summary |
|---|---|
| private static final byte[] stdShaVector | |
| KatTest | back to summary |
|---|---|
| pack-priv KatTest(byte[] kat) | |
| hasTestPassed | back to summary |
|---|---|
| public boolean hasTestPassed(Digest digest) Implements org. | |