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. out, 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. |
| public void | reset()
Overrides org. Implements org. reset the digest back to it's initial state. |
| public void | update(byte
the input byte to be entered. in)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. |
| HarakaS512Digest | back to summary |
|---|---|
| public HarakaS512Digest(HarakaSXof base) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, 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.
| |