ModernUO/Projects/UOContent/Accounting/Security
Kamron Batman 1f4952e40e feat(accounts): default to Argon2id at 16 MiB, t=1
Argon2.Bindings 1.20.0 resolves the Argon2 type from the stored hash, so
existing Argon2i credentials keep verifying after this switch. Without that
bump this change locks out every existing account -- the pinned legacy-hash
test fails on 1.19.0 for exactly that reason.

16 MiB t=1 measures 8.51 ms against the old 8 MiB t=3 Argon2i at 10.11 ms:
cheaper AND stronger. Memory-hardness resists GPU and ASIC cracking;
iterations mostly buy wall-clock, so trade t down for m up. It also stays
below the 16-32 MiB L3 inflection, which starts to matter once hashing moves
off the game loop and contends with the loop's working set.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:44:31 -07:00
..
AccountSecurity.cs fix: Bumps deps. Updates copyrights (#2353) 2026-03-05 19:36:54 -08:00
Argon2PasswordProtection.cs feat(accounts): default to Argon2id at 16 MiB, t=1 2026-08-07 16:44:31 -07:00
HashAlgorithmPasswordProtection.cs fix: Bumps deps. Updates copyrights (#2353) 2026-03-05 19:36:54 -08:00
PBKDF2PasswordProtection.cs fix: Bumps deps. Updates copyrights (#2353) 2026-03-05 19:36:54 -08:00