Skip to content

Commit 4b004fe

Browse files
merge pull request #15 from https-richardy/fix/14-reduce-password-hash-cost
fix(#14): reduce password hash iterations for improved performance
2 parents 87c31bf + 940ce95 commit 4b004fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security

Applications/Backend/Source/HttpsRichardy.Federation.Infrastructure/Security/PasswordHasher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public sealed class PasswordHasher : IPasswordHasher
44
{
55
private const int SaltSize = 16;
66
private const int KeySize = 32;
7-
private const int Iterations = 400_000;
7+
private const int Iterations = 70_000;
88

99
public Task<string> HashPasswordAsync(string password)
1010
{

0 commit comments

Comments
 (0)