Following the naming conventions used in the C source code to enable easy review of the implementation.
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected int | |
| pack-priv long[] | |
| pack-priv long[] | |
| protected byte[] | |
| protected byte[] | |
| protected int | |
| private static int[] | |
| private static long[] | |
| protected byte[] | |
| protected int | |
| protected boolean | |
| protected byte[] | |
| pack-priv long[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private void | |
| private void | |
| private void | |
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. |
| protected int | |
| private void | |
| private void | |
| public String | getAlgorithmName()
Implements org. |
| public int | Returns: internal byte length of a block.Implements org. |
| public int | getDigestSize()
Implements org. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static int[] | |
| private static long[] | |
| private void | |
| private void | |
| private void | |
| private static boolean | |
| private void | |
| private void | |
| public void | reset()
Implements org. |
| private void | |
| protected void | |
| private void | |
| public void | update(byte
the input byte to be entered. in)Implements org. |
| public void | update(byte[]
the byte array containing the data. in, int the offset into the byte array where the data starts. inOff, int the length of the data. len)Implements org. |
| bitsAvailableForSqueezing | back to summary |
|---|---|
| protected int bitsAvailableForSqueezing | |
| bitsInQueue | back to summary |
|---|---|
| protected int bitsInQueue | |
| C | back to summary |
|---|---|
| pack-priv long[] C | |
| chiC | back to summary |
|---|---|
| pack-priv long[] chiC | |
| chunk | back to summary |
|---|---|
| protected byte[] chunk | |
| dataQueue | back to summary |
|---|---|
| protected byte[] dataQueue | |
| fixedOutputLength | back to summary |
|---|---|
| protected int fixedOutputLength | |
| KeccakRhoOffsets | back to summary |
|---|---|
| private static int[] KeccakRhoOffsets | |
| KeccakRoundConstants | back to summary |
|---|---|
| private static long[] KeccakRoundConstants | |
| oneByte | back to summary |
|---|---|
| protected byte[] oneByte | |
| rate | back to summary |
|---|---|
| protected int rate | |
| squeezing | back to summary |
|---|---|
| protected boolean squeezing | |
| state | back to summary |
|---|---|
| protected byte[] state | |
| tempA | back to summary |
|---|---|
| pack-priv long[] tempA | |
| KeccakDigest | back to summary |
|---|---|
| public KeccakDigest() | |
| KeccakDigest | back to summary |
|---|---|
| public KeccakDigest(int bitLength) | |
| KeccakDigest | back to summary |
|---|---|
| public KeccakDigest(KeccakDigest source) | |
| absorb | back to summary |
|---|---|
| protected void absorb(byte[] data, int off, long databitlen) | |
| absorbQueue | back to summary |
|---|---|
| private void absorbQueue() | |
| chi | back to summary |
|---|---|
| private void chi(long[] A) | |
| clearDataQueueSection | back to summary |
|---|---|
| private void clearDataQueueSection(int off, int len) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| doFinal | back to summary |
|---|---|
| protected int doFinal(byte[] out, int outOff, byte partialByte, int partialBits) | |
| fromBytesToWords | back to summary |
|---|---|
| private void fromBytesToWords(long[] stateAsWords, byte[] state) | |
| fromWordsToBytes | back to summary |
|---|---|
| private void fromWordsToBytes(byte[] state, long[] stateAsWords) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name
| |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Implements org. Return the size of block that the compression function is applied to in bytes.
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| init | back to summary |
|---|---|
| private void init(int bitLength) | |
| initSponge | back to summary |
|---|---|
| private void initSponge(int rate, int capacity) | |
| iota | back to summary |
|---|---|
| private void iota(long[] A, int indexRound) | |
| KeccakAbsorb | back to summary |
|---|---|
| private void KeccakAbsorb(byte[] byteState, byte[] data, int dataInBytes) | |
| KeccakExtract | back to summary |
|---|---|
| private void KeccakExtract(byte[] byteState, byte[] data, int laneCount) | |
| KeccakExtract1024bits | back to summary |
|---|---|
| private void KeccakExtract1024bits(byte[] byteState, byte[] data) | |
| keccakInitializeRhoOffsets | back to summary |
|---|---|
| private static int[] keccakInitializeRhoOffsets() | |
| keccakInitializeRoundConstants | back to summary |
|---|---|
| private static long[] keccakInitializeRoundConstants() | |
| keccakPermutation | back to summary |
|---|---|
| private void keccakPermutation(byte[] state) | |
| keccakPermutationAfterXor | back to summary |
|---|---|
| private void keccakPermutationAfterXor(byte[] state, byte[] data, int dataLengthInBytes) | |
| keccakPermutationOnWords | back to summary |
|---|---|
| private void keccakPermutationOnWords(long[] state) | |
| LFSR86540 | back to summary |
|---|---|
| private static boolean LFSR86540(byte[] LFSR) | |
| padAndSwitchToSqueezingPhase | back to summary |
|---|---|
| private void padAndSwitchToSqueezingPhase() | |
| pi | back to summary |
|---|---|
| private void pi(long[] A) | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the digest back to it's initial state. | |
| rho | back to summary |
|---|---|
| private void rho(long[] A) | |
| squeeze | back to summary |
|---|---|
| protected void squeeze(byte[] output, int offset, long outputLength) | |
| theta | back to summary |
|---|---|
| private void theta(long[] A) | |
| update | back to summary |
|---|---|
| public void update(byte in) Implements org. Doc from org. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] in, int inOff, int len) Implements org. Doc from org. update the message digest with a block of bytes.
| |