| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public | CSHAKEDigest(int
security strength (in bits) of the underlying SHAKE function, 128 or 256. bitLength, byte[] the function name string, note this is reserved for use by NIST. Avoid using it if not required. N, byte[] the customization string - available for local use. S)Base constructor. |
| public | CSHAKEDigest(int
security strength (in bits) of the underlying SHAKE function, 128 or 256. bitLength, CryptoServicePurpose the purpose for constructing the CSHAKEDigest purpose, byte[] the function name string, note this is reserved for use by NIST. Avoid using it if not required. N, byte[] the customization string - available for local use. S)Base constructor. |
| public |
| 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[] | |
| public String | getAlgorithmName()
Overrides org. Implements org. |
| public void | reset()
Overrides org. Implements org. |
| diff | back to summary |
|---|---|
| private final byte[] diff | |
| padding | back to summary |
|---|---|
| private static final byte[] padding | |
| CSHAKEDigest | back to summary |
|---|---|
| public CSHAKEDigest(int bitLength, byte[] N, byte[] S) Base constructor.
| |
| CSHAKEDigest | back to summary |
|---|---|
| public CSHAKEDigest(int bitLength, CryptoServicePurpose purpose, byte[] N, byte[] S) Base constructor.
| |
| CSHAKEDigest | back to summary |
|---|---|
| public CSHAKEDigest(CSHAKEDigest source) | |
| 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) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Overrides org. Implements org. Doc from org. return the algorithm name
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. Doc from org. reset the digest back to it's initial state. | |