Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed May 23, 2024
1 parent 14c4621 commit ec44830
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/apache/commons/codec/digest/Blake3.java
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ private Blake3(final int[] key, final int flags) {
* previously finalized bytes. Note that this can finalize up to 2<sup>64</sup> bytes per instance.
*
* @param out destination array to finalize bytes into
* @return this
* @return {@code this} instance.
* @throws NullPointerException if out is null
*/
public Blake3 doFinalize(final byte[] out) {
Expand All @@ -469,7 +469,7 @@ public Blake3 doFinalize(final byte[] out) {
* @param out destination array to finalize bytes into
* @param offset where in the array to begin writing bytes to
* @param length number of bytes to finalize
* @return this
* @return {@code this} instance.
* @throws NullPointerException if out is null
* @throws IndexOutOfBoundsException if offset or length are negative or if offset + length is greater than the
* length of the provided array
Expand Down Expand Up @@ -498,7 +498,7 @@ public byte[] doFinalize(final int nrBytes) {

/**
* Resets this instance back to its initial state when it was first constructed.
* @return this
* @return {@code this} instance.
*/
public Blake3 reset() {
engineState.reset();
Expand All @@ -509,7 +509,7 @@ public Blake3 reset() {
* Updates this hash state using the provided bytes.
*
* @param in source array to update data from
* @return this
* @return {@code this} instance.
* @throws NullPointerException if in is null
*/
public Blake3 update(final byte[] in) {
Expand All @@ -522,7 +522,7 @@ public Blake3 update(final byte[] in) {
* @param in source array to update data from
* @param offset where in the array to begin reading bytes
* @param length number of bytes to update
* @return this
* @return {@code this} instance.
* @throws NullPointerException if in is null
* @throws IndexOutOfBoundsException if offset or length are negative or if offset + length is greater than the
* length of the provided array
Expand Down

0 comments on commit ec44830

Please sign in to comment.