From 06c08961091b543780b8886b152914290cd04f0f Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Wed, 24 Sep 2025 17:21:38 -0700 Subject: Tweak defaultIterations for tanjiro --- internal/pwhash/pwhash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pwhash/pwhash.go') 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) -- cgit v1.3.1