Digest
, ExtendedDigest
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, rate, squeezing, state
Constructor | Description |
---|---|
SHA3Digest() |
|
SHA3Digest(int bitLength) |
|
SHA3Digest(SHA3Digest source) |
Modifier and Type | Method | Description |
---|---|---|
int |
doFinal(byte[] out,
int outOff) |
close the digest, producing the final digest value.
|
protected int |
doFinal(byte[] out,
int outOff,
byte partialByte,
int partialBits) |
|
java.lang.String |
getAlgorithmName() |
return the algorithm name
|
absorb, absorbBits, getByteLength, getDigestSize, reset, squeeze, update, update
public SHA3Digest()
public SHA3Digest(int bitLength)
public SHA3Digest(SHA3Digest source)
public java.lang.String getAlgorithmName()
Digest
getAlgorithmName
in interface Digest
getAlgorithmName
in class KeccakDigest
public int doFinal(byte[] out, int outOff)
Digest
doFinal
in interface Digest
doFinal
in class KeccakDigest
out
- 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 KeccakDigest