| Modifier and Type | Field and Description |
|---|---|
| private final Blake3Digest | theDigest
Digest. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | doFinal(final byte[]
the array the MAC is to be output to. out, final int the offset into the out buffer the output is to start at. outOff)Implements org. |
| public String | getAlgorithmName()
Implements org. |
| public int | getMacSize()
Implements org. |
| public void | init(final CipherParameters
the key and other data required by the MAC. pParams)Implements org. |
| public void | |
| public void | update(final byte
the byte to be processed. in)Implements org. |
| public void | update(final byte[]
the array containing the input. in, final int the index in the array the data begins at. inOff, final int the length of the input starting at inOff. len)Implements org. |
| theDigest | back to summary |
|---|---|
| private final Blake3Digest theDigest Digest. | |
| Blake3Mac | back to summary |
|---|---|
| public Blake3Mac(final Blake3Digest pDigest) Create a blake3Mac with the specified digest.
| |
| doFinal | back to summary |
|---|---|
| public int doFinal(final byte[] out, final int outOff) Implements org. Doc from org. Compute the final stage of the MAC writing the output to the out parameter. doFinal leaves the MAC in the same state it was after the last init.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. Return the name of the algorithm the MAC implements.
| |
| getMacSize | back to summary |
|---|---|
| public int getMacSize() Implements org. Doc from org. Return the block size for this MAC (in bytes).
| |
| init | back to summary |
|---|---|
| public void init(final CipherParameters pParams) Implements org. Doc from org. Initialise the MAC.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Reset the MAC. At the end of resetting the MAC should be in the in the same state it was after the last init (if there was one). | |
| update | back to summary |
|---|---|
| public void update(final byte in) Implements org. Doc from org. add a single byte to the mac for processing.
| |
| update | back to summary |
|---|---|
| public void update(final byte[] in, final int inOff, final int len) Implements org.
| |