| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private int | |
| private final int | |
| private final int | |
| private static final long[] | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| protected byte[] | engineDigest()
Implements abstract java. Completes the hash computation by performing final operations such as padding. |
| protected int | engineGetDigestLength()
Overrides java. Returns the digest length in bytes. |
| protected void | engineReset()
Implements abstract java. Resets the digest for further use. |
| protected void | engineUpdate(byte
the byte to use for the update. input)Implements abstract java. Updates the digest using the specified byte. |
| protected void | engineUpdate(byte[]
the array of bytes to use for the update. input, int the offset to start from in the array of bytes. offset, int the number of bytes to use, starting at
len)offset.Implements abstract java. Updates the digest using the specified array of bytes, starting at the specified offset. |
| public static SHA3 | |
| public static SHA3 | |
| public static SHA3 | |
| public static SHA3 |
| buf | back to summary |
|---|---|
| private final byte[] buf | |
| bufcnt | back to summary |
|---|---|
| private int bufcnt | |
| digestLength | back to summary |
|---|---|
| private final int digestLength | |
| rate | back to summary |
|---|---|
| private final int rate | |
| ROUND_CONSTANTS | back to summary |
|---|---|
| private static final long[] ROUND_CONSTANTS | |
| state00 | back to summary |
|---|---|
| private long state00 | |
| state01 | back to summary |
|---|---|
| private long state01 | |
| state02 | back to summary |
|---|---|
| private long state02 | |
| state03 | back to summary |
|---|---|
| private long state03 | |
| state04 | back to summary |
|---|---|
| private long state04 | |
| state05 | back to summary |
|---|---|
| private long state05 | |
| state06 | back to summary |
|---|---|
| private long state06 | |
| state07 | back to summary |
|---|---|
| private long state07 | |
| state08 | back to summary |
|---|---|
| private long state08 | |
| state09 | back to summary |
|---|---|
| private long state09 | |
| state10 | back to summary |
|---|---|
| private long state10 | |
| state11 | back to summary |
|---|---|
| private long state11 | |
| state12 | back to summary |
|---|---|
| private long state12 | |
| state13 | back to summary |
|---|---|
| private long state13 | |
| state14 | back to summary |
|---|---|
| private long state14 | |
| state15 | back to summary |
|---|---|
| private long state15 | |
| state16 | back to summary |
|---|---|
| private long state16 | |
| state17 | back to summary |
|---|---|
| private long state17 | |
| state18 | back to summary |
|---|---|
| private long state18 | |
| state19 | back to summary |
|---|---|
| private long state19 | |
| state20 | back to summary |
|---|---|
| private long state20 | |
| state21 | back to summary |
|---|---|
| private long state21 | |
| state22 | back to summary |
|---|---|
| private long state22 | |
| state23 | back to summary |
|---|---|
| private long state23 | |
| state24 | back to summary |
|---|---|
| private long state24 | |
| SHA3 | back to summary |
|---|---|
| private SHA3(String algorithm, int digestLength) | |
| absorb | back to summary |
|---|---|
| private void absorb(byte[] data, int offset) | |
| absorbQueue | back to summary |
|---|---|
| private void absorbQueue() | |
| engineDigest | back to summary |
|---|---|
| protected byte[] engineDigest() Implements abstract java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once
| |
| engineGetDigestLength | back to summary |
|---|---|
| protected int engineGetDigestLength() Overrides java. Doc from java. Returns the digest length in bytes. This concrete method has been added to this previously-defined abstract class. (For backwards compatibility, it cannot be abstract.) The default behavior is to return 0. This method may be overridden by a provider to return the digest length.
| |
| engineReset | back to summary |
|---|---|
| protected void engineReset() Implements abstract java. Doc from java. Resets the digest for further use.
| |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(byte input) Implements abstract java. Doc from java. Updates the digest using the specified byte.
| |
| engineUpdate | back to summary |
|---|---|
| protected void engineUpdate(byte[] input, int offset, int len) Implements abstract java. Doc from java. Updates the digest using the specified array of bytes, starting at the specified offset.
| |
| getSha3_224 | back to summary |
|---|---|
| public static SHA3 getSha3_224() Returns a new instance of SHA3-224 message digest.
| |
| getSha3_256 | back to summary |
|---|---|
| public static SHA3 getSha3_256() Returns a new instance of SHA3-256 message digest.
| |
| getSha3_384 | back to summary |
|---|---|
| public static SHA3 getSha3_384() Returns a new instance of SHA3-384 message digest.
| |
| getSha3_512 | back to summary |
|---|---|
| public static SHA3 getSha3_512() Returns a new instance of SHA3-512 message digest.
| |