Xoodyak with reference to C Reference Impl from: https://github.com/XKCP/XKCP
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteArrayOutputStream | |
| private final int | |
| private final int | |
| private XoodyakDigest. | |
| private int | |
| private final int | |
| private final int | |
| private int | |
| private final int[] | |
| private final int | |
| private byte[] | |
| private final 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. |
| pack-priv void | |
| 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. |
| public void | reset()
Implements org. reset the digest back to it's initial state. |
| private void | |
| 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 final ByteArrayOutputStream buffer | |
| f_bPrime | back to summary |
|---|---|
| private final int f_bPrime | |
| MAXROUNDS | back to summary |
|---|---|
| private final int MAXROUNDS | |
| mode | back to summary |
|---|---|
| private XoodyakDigest. | |
| phase | back to summary |
|---|---|
| private int phase | |
| PhaseDown | back to summary |
|---|---|
| private final int PhaseDown | |
| PhaseUp | back to summary |
|---|---|
| private final int PhaseUp | |
| Rabsorb | back to summary |
|---|---|
| private int Rabsorb | |
| RC | back to summary |
|---|---|
| private final int[] RC | |
| Rhash | back to summary |
|---|---|
| private final int Rhash | |
| state | back to summary |
|---|---|
| private byte[] state | |
| TAGLEN | back to summary |
|---|---|
| private final int TAGLEN | |
| XoodyakDigest | back to summary |
|---|---|
| public XoodyakDigest() | |
| 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.
| |
| Down | back to summary |
|---|---|
| pack-priv void Down(byte[] Xi, int XiOff, int XiLen, int Cd) | |
| 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.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the digest back to it's initial state.
| |
| Up | back to summary |
|---|---|
| private void Up(byte[] Yi, int YiOff, int YiLen, int Cu) | |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final XoodyakDigest. | |
| public static final XoodyakDigest. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static XoodyakDigest. | |
| public static XoodyakDigest. |
| ModeHash | back to summary |
|---|---|
| public static final XoodyakDigest. | |
| ModeKeyed | back to summary |
|---|---|
| public static final XoodyakDigest. | |
| MODE | back to summary |
|---|---|
| private MODE() | |
| valueOf | back to summary |
|---|---|
| public static XoodyakDigest. | |
| values | back to summary |
|---|---|
| public static XoodyakDigest. | |