Following the naming conventions used in the C source code to enable easy review of the implementation.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| 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)Overrides org. Implements org. |
| public int | doFinal(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)Implements org. |
| protected int | doFinal(byte[] out, int outOff, byte partialByte, int partialBits)
Overrides org. |
| protected int | |
| 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)Implements org. |
| public String | getAlgorithmName()
Overrides org. Implements org. |
| SHAKEDigest | back to summary |
|---|---|
| public SHAKEDigest(int bitLength) | |
| checkBitLength | back to summary |
|---|---|
| private static int checkBitLength(int bitLength) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Overrides org. Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff, int outLen) Implements org. Doc from org. Output the results of the final calculation for this digest to outLen number of bytes.
| |
| doFinal | back to summary |
|---|---|
| protected int doFinal(byte[] out, int outOff, byte partialByte, int partialBits) Overrides org. | |
| doFinal | back to summary |
|---|---|
| protected int doFinal(byte[] out, int outOff, int outLen, byte partialByte, int partialBits) | |
| doOutput | back to summary |
|---|---|
| public int doOutput(byte[] out, int outOff, int outLen) 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.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Overrides org. Implements org. Doc from org. return the algorithm name
| |