public class SHAKEDigest extends KeccakDigest implements Xof
Following the naming conventions used in the C source code to enable easy review of the implementation.
bitsInQueue, dataQueue, fixedOutputLength, purpose, rate, squeezing, state| Constructor and Description |
|---|
SHAKEDigest()SHAKEDigest. |
SHAKEDigest(CryptoServicePurpose purpose)SHAKEDigest. |
SHAKEDigest(int bitStrength)Base constructor. |
SHAKEDigest(int bitStrength,
CryptoServicePurpose purpose)Base constructor. |
SHAKEDigest(SHAKEDigest source)Clone constructor |
| Modifier and Type | Method and Description |
|---|---|
protected CryptoServiceProperties | cryptoServiceProperties()cryptoServiceProperties. |
int | doFinal(byte[] out,
int outOff)doFinal. |
protected int | doFinal(byte[] out,
int outOff,
byte partialByte,
int partialBits)doFinal. |
int | doFinal(byte[] out,
int outOff,
int outLen)doFinal. |
protected int | doFinal(byte[] out,
int outOff,
int outLen,
byte partialByte,
int partialBits)doFinal. |
int | doOutput(byte[] out,
int outOff,
int outLen)doOutput. |
String | getAlgorithmName()getAlgorithmName. |
int | getDigestSize()getDigestSize. |
absorb, absorb, absorbBits, getByteLength, reset, squeeze, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByteLengthpublic SHAKEDigest()
public SHAKEDigest(CryptoServicePurpose purpose)
public SHAKEDigest(int bitStrength)
bitStrength - the security strength in bits of the XOF.public SHAKEDigest(int bitStrength,
CryptoServicePurpose purpose)bitStrength - the security strength in bits of the XOF.purpose - the purpose of the digest will be used for.public SHAKEDigest(SHAKEDigest source)
source - the other digest to be copied.protected CryptoServiceProperties cryptoServiceProperties()
cryptoServiceProperties in class KeccakDigestpublic int doFinal(byte[] out,
int outOff)doFinal in interface DigestdoFinal in class KeccakDigestout - the array the digest is to be copied into.outOff - the offset into the out array the digest is to start at.protected int doFinal(byte[] out,
int outOff,
byte partialByte,
int partialBits)doFinal in class KeccakDigestpublic int doFinal(byte[] out,
int outOff,
int outLen)protected int doFinal(byte[] out,
int outOff,
int outLen,
byte partialByte,
int partialBits)public int doOutput(byte[] out,
int outOff,
int outLen)public String getAlgorithmName()
getAlgorithmName in interface DigestgetAlgorithmName in class KeccakDigestpublic int getDigestSize()
getDigestSize in interface DigestgetDigestSize in class KeccakDigest