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-<hash_type>-<number_of_iterations>`
This commit is contained in:
Julio López authored and GitHub committed 2024-04-19 15:50:45 -07:00
1 parent ff9f6a8325
commit 17c3a8d4de
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ const (
pbkdf2Sha256Iterations = 600_000
// Pbkdf2Algorithm is the key for the pbkdf algorithm.
Pbkdf2Algorithm = "pbkdf2"
Pbkdf2Algorithm = "pbkdf2-sha256-600000"
)
func init() {