This is an automated email from the ASF dual-hosted git repository.
alopresto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new 0b2816b NIFI-7121 Updated comment to state a 'static' salt is used in
the constructor. (#4098)
0b2816b is described below
commit 0b2816baa4a44ac8e2128e4730796cc193d8bced
Author: M Tien <[email protected]>
AuthorDate: Tue Mar 3 15:50:49 2020 -0800
NIFI-7121 Updated comment to state a 'static' salt is used in the
constructor. (#4098)
Signed-off-by: Andy LoPresto <[email protected]>
---
.../java/org/apache/nifi/security/util/crypto/Argon2SecureHasher.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/Argon2SecureHasher.java
b/nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/Argon2SecureHasher.java
index 0697f3d..22e618c 100644
---
a/nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/Argon2SecureHasher.java
+++
b/nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/Argon2SecureHasher.java
@@ -70,7 +70,7 @@ public class Argon2SecureHasher implements SecureHasher {
}
/**
- * Instantiates an Argon2 secure hasher using the provided cost
parameters. A unique
+ * Instantiates an Argon2 secure hasher using the provided cost
parameters. A static
* {@link #DEFAULT_SALT_LENGTH} byte salt will be generated on every hash
request.
*
* @param hashLength the output length in bytes ({@code 4 to 2^32 - 1})