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
2024-04-19 15:50:45 -07:00
committed by GitHub
parent ff9f6a8325
commit 17c3a8d4de

View File

@@ -23,7 +23,7 @@
pbkdf2Sha256Iterations = 600_000
// Pbkdf2Algorithm is the key for the pbkdf algorithm.
Pbkdf2Algorithm = "pbkdf2"
Pbkdf2Algorithm = "pbkdf2-sha256-600000"
)
func init() {