From 0b2816baa4a44ac8e2128e4730796cc193d8bced Mon Sep 17 00:00:00 2001 From: M Tien <56892372+mtien-apache@users.noreply.github.com> Date: Tue, 3 Mar 2020 15:50:49 -0800 Subject: [PATCH] NIFI-7121 Updated comment to state a 'static' salt is used in the constructor. (#4098) Signed-off-by: Andy LoPresto --- .../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 0697f3d3f5..22e618c368 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})