aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Services')
-rw-r--r--Timeline/Services/PasswordService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Services/PasswordService.cs b/Timeline/Services/PasswordService.cs
index e04a861b..8114a520 100644
--- a/Timeline/Services/PasswordService.cs
+++ b/Timeline/Services/PasswordService.cs
@@ -110,7 +110,7 @@ namespace Timeline.Services
return Convert.ToBase64String(HashPasswordV3(password, _rng));
}
- private byte[] HashPasswordV3(string password, RandomNumberGenerator rng)
+ private static byte[] HashPasswordV3(string password, RandomNumberGenerator rng)
{
return HashPasswordV3(password, rng,
prf: KeyDerivationPrf.HMACSHA256,
@@ -166,7 +166,7 @@ namespace Timeline.Services
};
}
- private bool VerifyHashedPasswordV3(byte[] hashedPassword, string password, string hashedPasswordString)
+ private static bool VerifyHashedPasswordV3(byte[] hashedPassword, string password, string hashedPasswordString)
{
try
{