public class SHA3Digest extends KeccakDigest
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 |
|---|
SHA3Digest()SHA3Digest. |
SHA3Digest(CryptoServicePurpose purpose)SHA3Digest. |
SHA3Digest(int bitLength)SHA3Digest. |
SHA3Digest(int bitLength,
CryptoServicePurpose purpose)SHA3Digest. |
SHA3Digest(SHA3Digest source)SHA3Digest. |
| Modifier and Type | Method and Description |
|---|---|
int | doFinal(byte[] out,
int outOff)doFinal. |
protected int | doFinal(byte[] out,
int outOff,
byte partialByte,
int partialBits)doFinal. |
String | getAlgorithmName()getAlgorithmName. |
absorb, absorb, absorbBits, cryptoServiceProperties, getByteLength, getDigestSize, reset, squeeze, update, updatepublic SHA3Digest()
public SHA3Digest(CryptoServicePurpose purpose)
public SHA3Digest(int bitLength)
public SHA3Digest(int bitLength,
CryptoServicePurpose purpose)public SHA3Digest(SHA3Digest source)
public 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 String getAlgorithmName()
getAlgorithmName in interface DigestgetAlgorithmName in class KeccakDigest