From 940ce95ea262374f3d13dae1d2b0ba08ed92d8a8 Mon Sep 17 00:00:00 2001 From: Richard Garcia Date: Sun, 29 Mar 2026 23:54:58 -0300 Subject: [PATCH] fix(#14): reduce password hash iterations for improved performance --- .../Security/PasswordHasher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security/PasswordHasher.cs b/Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security/PasswordHasher.cs index 5147d36..98d57fb 100644 --- a/Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security/PasswordHasher.cs +++ b/Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security/PasswordHasher.cs @@ -4,7 +4,7 @@ public sealed class PasswordHasher : IPasswordHasher { private const int SaltSize = 16; private const int KeySize = 32; - private const int Iterations = 400_000; + private const int Iterations = 70_000; public Task HashPasswordAsync(string password) {