Skip to content

Commit b57e84b

Browse files
committed
Javadoc
1 parent 8c08eea commit b57e84b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • src/main/java/org/apache/commons/codec/digest

src/main/java/org/apache/commons/codec/digest/Blake3.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public final class Blake3 {
8383
private static final int CHUNK_LEN = 1024;
8484
private static final int CHAINING_VALUE_INTS = 8;
8585

86-
// standard hash key used for plain hashes; same initialization vector as Blake2s
86+
/**
87+
* Standard hash key used for plain hashes; same initialization vector as Blake2s.
88+
*/
8789
private static final int[] IV =
8890
{ 0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19 };
8991

@@ -294,7 +296,9 @@ private static int[] unpackInts(final byte[] buf, final int nrInts) {
294296
return values;
295297
}
296298

297-
// The mixing function, G, which mixes either a column or a diagonal.
299+
/**
300+
* The mixing function, G, which mixes either a column or a diagonal.
301+
*/
298302
private static void g(
299303
final int[] state, final int a, final int b, final int c, final int d, final int mx, final int my) {
300304
state[a] += state[b] + mx;

0 commit comments

Comments
 (0)