summaryrefslogtreecommitdiffstats
path: root/internal/pwhash
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-12-07 21:00:16 -0800
committerRose Hogenson <rosehogenson@posteo.net>2025-12-07 21:00:16 -0800
commit26235f94f87b01058cc06e69902f7fb30bffb22f (patch)
treef33aa295569104cf93caef3747efe11f2307c447 /internal/pwhash
parent98aa0f09acc956d72bfca6d4cdf22cbd40b87d1e (diff)
downloadroseh.moe-26235f94f87b01058cc06e69902f7fb30bffb22f.tar.zst
Update finditer
Diffstat (limited to 'internal/pwhash')
-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 22b5368..d8a1b33 100644
--- a/internal/pwhash/pwhash.go
+++ b/internal/pwhash/pwhash.go
@@ -7,7 +7,7 @@ import (
const SaltSize = 8
-const defaultIter = 12500992 // from tools/finditer
+const defaultIter = 12175430 // from tools/finditer
func HashIter(password string, salt []byte, iter int) ([]byte, error) {
return pbkdf2.Key(sha512.New, password, salt, iter, 32)