mirror of
https://github.com/kopia/kopia.git
synced 2026-10-21 13:44:48 -04:00
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:
1 parent
ff9f6a8325
commit
17c3a8d4de
1 file changed
+1
-1
@@ -23,7 +23,7 @@ const (
|
||||
pbkdf2Sha256Iterations = 600_000
|
||||
|
||||
// Pbkdf2Algorithm is the key for the pbkdf algorithm.
|
||||
Pbkdf2Algorithm = "pbkdf2"
|
||||
Pbkdf2Algorithm = "pbkdf2-sha256-600000"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in new issue
Block a user