Photon-Beetle with reference to C Reference Impl from: https://github.com/PHOTON-Beetle/Software
| Modifier and Type | Field and Description |
|---|---|
| private ByteArrayOutputStream | |
| private int | |
| private int | |
| private int | |
| private int | |
| private final int | |
| private int | |
| private byte[][] | |
| private int | |
| private byte[][] | |
| private int | |
| private int | |
| private int | |
| private byte[] | |
| private int | |
| private byte[] | |
| private byte[][] | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | doFinal(byte[]
the array the digest is to be copied into. output, int the offset into the out array the digest is to start at. outOff)Implements org. close the digest, producing the final digest value. |
| public String | getAlgorithmName()
Implements org. return the algorithm name |
| public int | getDigestSize()
Implements org. return the size, in bytes, of the digest produced by this message digest. |
| pack-priv void | |
| public void | reset()
Implements org. reset the digest back to it's initial state. |
| public void | update(byte
the input byte to be entered. input)Implements org. update the message digest with a single byte. |
| public void | update(byte[]
the byte array containing the data. input, int the offset into the byte array where the data starts. inOff, int the length of the data. len)Implements org. update the message digest with a block of bytes. |
| buffer | back to summary |
|---|---|
| private ByteArrayOutputStream buffer | |
| D | back to summary |
|---|---|
| private int D | |
| Dq | back to summary |
|---|---|
| private int Dq | |
| Dr | back to summary |
|---|---|
| private int Dr | |
| DSquare | back to summary |
|---|---|
| private int DSquare | |
| INITIAL_RATE_INBYTES | back to summary |
|---|---|
| private final int INITIAL_RATE_INBYTES | |
| LAST_THREE_BITS_OFFSET | back to summary |
|---|---|
| private int LAST_THREE_BITS_OFFSET | |
| MixColMatrix | back to summary |
|---|---|
| private byte[][] MixColMatrix | |
| RATE_INBYTES | back to summary |
|---|---|
| private int RATE_INBYTES | |
| RC | back to summary |
|---|---|
| private byte[][] RC | |
| ROUND | back to summary |
|---|---|
| private int ROUND | |
| S | back to summary |
|---|---|
| private int S | |
| S_1 | back to summary |
|---|---|
| private int S_1 | |
| sbox | back to summary |
|---|---|
| private byte[] sbox | |
| SQUEEZE_RATE_INBYTES | back to summary |
|---|---|
| private int SQUEEZE_RATE_INBYTES | |
| state | back to summary |
|---|---|
| private byte[] state | |
| state_2d | back to summary |
|---|---|
| private byte[][] state_2d | |
| STATE_INBYTES | back to summary |
|---|---|
| private int STATE_INBYTES | |
| TAG_INBYTES | back to summary |
|---|---|
| private int TAG_INBYTES | |
| PhotonBeetleDigest | back to summary |
|---|---|
| public PhotonBeetleDigest() | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] output, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name | |
| 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.
| |
| PHOTON_Permutation | back to summary |
|---|---|
| pack-priv void PHOTON_Permutation() | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the digest back to it's initial state.
| |
| update | back to summary |
|---|---|
| public void update(byte input) Implements org. Doc from org. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] input, int inOff, int len) Implements org. Doc from org. update the message digest with a block of bytes.
| |