From 17c3a8d4de208f8b9e54a46701eac28bc982bf63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20L=C3=B3pez?= <1953782+julio-lopez@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:50:45 -0700 Subject: [PATCH] refactor(general): include parameters in pbkdf2 instantiation (#3811) Use `pbkdf2-sha256-600000` as the name to be consistent with the scrypt instantiation. The format is `pbkdf2--` --- internal/crypto/pbkdf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/crypto/pbkdf.go b/internal/crypto/pbkdf.go index 49ab4c266..818b39138 100644 --- a/internal/crypto/pbkdf.go +++ b/internal/crypto/pbkdf.go @@ -23,7 +23,7 @@ pbkdf2Sha256Iterations = 600_000 // Pbkdf2Algorithm is the key for the pbkdf algorithm. - Pbkdf2Algorithm = "pbkdf2" + Pbkdf2Algorithm = "pbkdf2-sha256-600000" ) func init() {