public class SHA3Digest extends java.lang.Object implements ExtendedDigest
Following the naming conventions used in the C source code to enable easy review of the implementation.
| Constructor and Description |
|---|
SHA3Digest() |
SHA3Digest(int bitLength) |
SHA3Digest(SHA3Digest source) |
| Modifier and Type | Method and Description |
|---|---|
int |
doFinal(byte[] out,
int outOff)
close the digest, producing the final digest value.
|
java.lang.String |
getAlgorithmName()
return the algorithm name
|
int |
getByteLength()
Return the size of block that the compression function is applied to in bytes.
|
int |
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
|
void |
reset()
reset the digest back to it's initial state.
|
void |
update(byte in)
update the message digest with a single byte.
|
void |
update(byte[] in,
int inOff,
int len)
update the message digest with a block of bytes.
|
public SHA3Digest()
public SHA3Digest(int bitLength)
public SHA3Digest(SHA3Digest source)
public java.lang.String getAlgorithmName()
DigestgetAlgorithmName in interface Digestpublic int getDigestSize()
DigestgetDigestSize in interface Digestpublic void update(byte in)
Digestpublic void update(byte[] in,
int inOff,
int len)
Digestpublic int doFinal(byte[] out,
int outOff)
Digestpublic void reset()
Digestpublic int getByteLength()
getByteLength in interface ExtendedDigest