diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-09-24 17:21:38 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-09-24 17:21:38 -0700 |
| commit | 06c08961091b543780b8886b152914290cd04f0f (patch) | |
| tree | 1728e97147e0e3be82afc442c84871bf50ff6758 /internal | |
| parent | 6972445a634ed6aea1b252b277578cdeecf157e4 (diff) | |
| download | roseh.moe-06c08961091b543780b8886b152914290cd04f0f.tar.zst | |
Tweak defaultIterations for tanjiro
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/pwhash/pwhash.go | 2 |
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) |
