Following the naming conventions used in the C source code to enable easy review of the implementation.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | SHAKEDigest(int
the security strength in bits of the XOF. bitStrength, CryptoServicePurpose the purpose of the digest will be used for. purpose)Base constructor. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| protected CryptoServiceProperties | |
| 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. |
| public int | getDigestSize()
Overrides org. Implements org. |
| SHAKEDigest | back to summary |
|---|---|
| public SHAKEDigest() | |
| SHAKEDigest | back to summary |
|---|---|
| public SHAKEDigest(CryptoServicePurpose purpose) | |
| SHAKEDigest | back to summary |
|---|---|
| public SHAKEDigest(int bitStrength) Base constructor.
| |
| SHAKEDigest | back to summary |
|---|---|
| public SHAKEDigest(int bitStrength, CryptoServicePurpose purpose) Base constructor.
| |
| SHAKEDigest | back to summary |
|---|---|
| public SHAKEDigest(SHAKEDigest source) Clone constructor
| |
| checkBitLength | back to summary |
|---|---|
| private static int checkBitLength(int bitStrength) | |
| cryptoServiceProperties | back to summary |
|---|---|
| protected CryptoServiceProperties cryptoServiceProperties() Overrides org. | |
| 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
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Overrides org. Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |