Haraka256-256 with reference to Python Reference Impl from: https://github.com/kste/haraka
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private int | |
| private final CryptoServicePurpose |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| 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 |
| private int | |
| 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. 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. |
| buffer | back to summary |
|---|---|
| private final byte[] buffer | |
| off | back to summary |
|---|---|
| private int off | |
| purpose | back to summary |
|---|---|
| private final CryptoServicePurpose purpose | |
| Haraka256Digest | back to summary |
|---|---|
| public Haraka256Digest() | |
| Haraka256Digest | back to summary |
|---|---|
| public Haraka256Digest(CryptoServicePurpose purpose) | |
| Haraka256Digest | back to summary |
|---|---|
| public Haraka256Digest(Haraka256Digest digest) | |
| 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
| |
| haraka256256 | back to summary |
|---|---|
| private int haraka256256(byte[] msg, byte[] out, int outOff) | |
| mix256 | back to summary |
|---|---|
| private void mix256(byte[][] s1, byte[][] s2) | |
| 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 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.
| |