Haraka512-256 with reference to Python Reference Impl from: https://github.com/sphincs/sphincsplus
| 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. |
| public String | getAlgorithmName()
Implements org. |
| public int | getDigestSize()
Implements org. |
| public void | reset()
Overrides org. Implements org. |
| 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. |
| HarakaS256Digest | back to summary |
|---|---|
| public HarakaS256Digest(HarakaSXof base) | |
| 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.
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Implements org. Doc from org. reset the digest back to it's initial state. | |
| 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.
| |