diff --git a/web/backend/Infrastructure/Infrastructure.PasswordHashing/Argon2Infrastructure.cs b/web/backend/Infrastructure/Infrastructure.PasswordHashing/Argon2Infrastructure.cs
index 9f4ba50..9914745 100644
--- a/web/backend/Infrastructure/Infrastructure.PasswordHashing/Argon2Infrastructure.cs
+++ b/web/backend/Infrastructure/Infrastructure.PasswordHashing/Argon2Infrastructure.cs
@@ -32,7 +32,7 @@ public class Argon2Infrastructure : IPasswordInfrastructure
Salt = salt,
DegreeOfParallelism = Math.Max(Environment.ProcessorCount, 1),
MemorySize = ArgonMemoryKb,
- Iterations = ArgonIterations
+ Iterations = ArgonIterations,
};
byte[] hash = argon2.GetBytes(HashSize);
@@ -57,10 +57,7 @@ public class Argon2Infrastructure : IPasswordInfrastructure
{
try
{
- string[] parts = stored.Split(
- ':',
- StringSplitOptions.RemoveEmptyEntries
- );
+ string[] parts = stored.Split(':', StringSplitOptions.RemoveEmptyEntries);
if (parts.Length != 2)
return false;
@@ -72,7 +69,7 @@ public class Argon2Infrastructure : IPasswordInfrastructure
Salt = salt,
DegreeOfParallelism = Math.Max(Environment.ProcessorCount, 1),
MemorySize = ArgonMemoryKb,
- Iterations = ArgonIterations
+ Iterations = ArgonIterations,
};
byte[] actual = argon2.GetBytes(expected.Length);
@@ -83,4 +80,4 @@ public class Argon2Infrastructure : IPasswordInfrastructure
return false;
}
}
-}
\ No newline at end of file
+}
diff --git a/web/backend/Infrastructure/Infrastructure.PasswordHashing/IPasswordInfrastructure.cs b/web/backend/Infrastructure/Infrastructure.PasswordHashing/IPasswordInfrastructure.cs
index 3b04e21..bb77123 100644
--- a/web/backend/Infrastructure/Infrastructure.PasswordHashing/IPasswordInfrastructure.cs
+++ b/web/backend/Infrastructure/Infrastructure.PasswordHashing/IPasswordInfrastructure.cs
@@ -19,4 +19,4 @@ public interface IPasswordInfrastructure
/// The stored salt/hash string previously produced by .
/// true if the password matches the stored hash; otherwise false.
public bool Verify(string password, string stored);
-}
\ No newline at end of file
+}
diff --git a/web/backend/Infrastructure/Infrastructure.PasswordHashing/Infrastructure.PasswordHashing.csproj b/web/backend/Infrastructure/Infrastructure.PasswordHashing/Infrastructure.PasswordHashing.csproj
index 4438159..614d5e4 100644
--- a/web/backend/Infrastructure/Infrastructure.PasswordHashing/Infrastructure.PasswordHashing.csproj
+++ b/web/backend/Infrastructure/Infrastructure.PasswordHashing/Infrastructure.PasswordHashing.csproj
@@ -7,9 +7,6 @@
-
+