Deprecated
Now superseded - please use AsconXof128
https://csrc.nist.gov/CSRC/media/Projects/lightweight-cryptography/documents/finalist-round/updated-spec-doc/ascon-spec-final.pdf
ASCON v1.2 XOF with reference to C Reference Impl from: https://github.com/ascon/ascon-c .
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| pack-priv AsconXof. | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | doFinal(byte[]
output array to write the output bytes to. output, int offset to start writing the bytes at. outOff, int the number of output bytes requested. outLen)Implements org. Output the results of the final calculation for this digest to outLen number of bytes. |
| public int | doOutput(byte[]
output array to write the output bytes to. output, int offset to start writing the bytes at. outOff, int the number of output bytes requested. outLen)Implements org. Start outputting the results of the final calculation for this digest. |
| public String | getAlgorithmName()
Implements org. return the algorithm name |
| public int | getByteLength()
Overrides org. Implements org. Return the size in bytes of the internal buffer the digest applies it's compression function to. |
| protected long | loadBytes(final byte[] bytes, int inOff)
Implements abstract org.
|
| protected long | loadBytes(final byte[] bytes, int inOff, int n)
Implements abstract org.
|
| protected long | |
| protected void | |
| public void | reset()
Overrides org. Implements org. reset the digest back to it's initial state. |
| protected void | setBytes(long w, byte[] bytes, int inOff)
Implements abstract org.
|
| protected void | setBytes(long w, byte[] bytes, int inOff, int n)
Implements abstract org.
|
| public void | update(byte
the input byte to be entered. in)Overrides org. 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)Overrides org. Implements org. update the message digest with a block of bytes. |
| algorithmName | back to summary |
|---|---|
| private final String algorithmName | |
| asconParameters | back to summary |
|---|---|
| pack-priv AsconXof. | |
| m_squeezing | back to summary |
|---|---|
| private boolean m_squeezing | |
| AsconXof | back to summary |
|---|---|
| public AsconXof(AsconXof. | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] output, int outOff, int outLen) Implements org. Doc from org. Output the results of the final calculation for this digest to outLen number of bytes.
| |
| doOutput | back to summary |
|---|---|
| public int doOutput(byte[] output, int outOff, int outLen) Implements org. Doc from org. Start outputting the results of the final calculation for this digest. Unlike doFinal, this method will continue producing output until the Xof is explicitly reset, or signals otherwise.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name | |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Overrides org. Implements org. Doc from org. Return the size in bytes of the internal buffer the digest applies it's compression function to.
| |
| loadBytes | back to summary |
|---|---|
| protected long loadBytes(final byte[] bytes, int inOff) Implements abstract org. | |
| loadBytes | back to summary |
|---|---|
| protected long loadBytes(final byte[] bytes, int inOff, int n) Implements abstract org. | |
| pad | back to summary |
|---|---|
| protected long pad(int i) Implements abstract org. | |
| padAndAbsorb | back to summary |
|---|---|
| protected void padAndAbsorb() Overrides org. | |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. Doc from org. reset the digest back to it's initial state.
| |
| setBytes | back to summary |
|---|---|
| protected void setBytes(long w, byte[] bytes, int inOff) Implements abstract org. | |
| setBytes | back to summary |
|---|---|
| protected void setBytes(long w, byte[] bytes, int inOff, int n) Implements abstract org. | |
| update | back to summary |
|---|---|
| public void update(byte in) Overrides org. 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) Overrides org. Implements org. Doc from org. update the message digest with a block of bytes.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AsconXof. | |
| public static final AsconXof. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AsconXof. | |
| public static AsconXof. |
| AsconXof | back to summary |
|---|---|
| public static final AsconXof. | |
| AsconXofA | back to summary |
|---|---|
| public static final AsconXof. | |
| AsconParameters | back to summary |
|---|---|
| private AsconParameters() | |
| valueOf | back to summary |
|---|---|
| public static AsconXof. | |
| values | back to summary |
|---|---|
| public static AsconXof. | |