Specification
https://csrc.nist.gov/CSRC/media/Projects/lightweight-cryptography/documents/finalist-round/updated-spec-doc/sparkle-spec-final.pdf
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final int | |
| private final byte[] | |
| private int | |
| private static final int | |
| private static final int | |
| private final int | |
| private final int | |
| private final int[] | |
| 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. |
| private static int | |
| public String | getAlgorithmName()
Implements org. return the algorithm name |
| public int | getByteLength()
Implements org. Return the size in bytes of the internal buffer the digest applies it's compression function to. |
| public int | getDigestSize()
Implements org. return the size, in bytes, of the digest produced by this message digest. |
| private 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. in, 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. |
| algorithmName | back to summary |
|---|---|
| private String algorithmName | |
| DIGEST_BYTES | back to summary |
|---|---|
| private final int DIGEST_BYTES | |
| m_buf | back to summary |
|---|---|
| private final byte[] m_buf | |
| m_bufPos | back to summary |
|---|---|
| private int m_bufPos | |
| RATE_BYTES | back to summary |
|---|---|
| private static final int RATE_BYTES | |
| RATE_WORDS | back to summary |
|---|---|
| private static final int RATE_WORDS | |
| SPARKLE_STEPS_BIG | back to summary |
|---|---|
| private final int SPARKLE_STEPS_BIG | |
| SPARKLE_STEPS_SLIM | back to summary |
|---|---|
| private final int SPARKLE_STEPS_SLIM | |
| state | back to summary |
|---|---|
| private final int[] state | |
| STATE_WORDS | back to summary |
|---|---|
| private final int STATE_WORDS | |
| SparkleDigest | back to summary |
|---|---|
| public SparkleDigest(SparkleDigest. | |
| 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.
| |
| ELL | back to summary |
|---|---|
| private static int ELL(int x) | |
| 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. Doc from org. Return the size in bytes of the internal buffer the digest applies it's compression function to.
| |
| 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.
| |
| processBlock | back to summary |
|---|---|
| private void processBlock(byte[] buf, int off, int steps) | |
| 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[] in, int inOff, int len) Implements org. Doc from org. update the message digest with a block of bytes.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final SparkleDigest. |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| private static final SparkleDigest. | |
| Friend | back to summary |
|---|---|
| private Friend() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SparkleDigest. | |
| public static final SparkleDigest. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SparkleDigest. | |
| public static SparkleDigest. |
| ESCH256 | back to summary |
|---|---|
| public static final SparkleDigest. | |
| ESCH384 | back to summary |
|---|---|
| public static final SparkleDigest. | |
| SparkleParameters | back to summary |
|---|---|
| private SparkleParameters() | |
| valueOf | back to summary |
|---|---|
| public static SparkleDigest. | |
| values | back to summary |
|---|---|
| public static SparkleDigest. | |