summaryrefslogtreecommitdiffstats
path: root/internal/pwhash/pwhash.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pwhash/pwhash.go')
-rw-r--r--internal/pwhash/pwhash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pwhash/pwhash.go b/internal/pwhash/pwhash.go
index 3074b0c..d886746 100644
--- a/internal/pwhash/pwhash.go
+++ b/internal/pwhash/pwhash.go
@@ -7,7 +7,7 @@ import (
const SaltLen = sha512.Size
-const defaultIterations = 903636 // from cmd/finditers
+const defaultIterations = 1220340 // from cmd/finditers
func HashIter(password string, salt []byte, iter int) ([]byte, error) {
return pbkdf2.Key(sha512.New, password, salt, iter, sha512.Size)