Updated the project's framework to .NET 5 and changed its launch configuration to no longer pop a browser on startup.
This commit is contained in:
@@ -27,8 +27,8 @@ namespace SecureCore.Authentication
|
||||
//allowing passwords that are too long can result in a denial-of-service attack. So we must enforce password length limits.
|
||||
//The recommended length is between 64 and 128, so I decided to go for the upper bounds.
|
||||
public static string SectionName { get; } = "PasswordSettings";
|
||||
private static int AbsoluteMinPasswordLength { get; } = 16;
|
||||
private static int AbsoluteMaxPasswordLength { get; } = 128;
|
||||
public static int AbsoluteMinPasswordLength { get; } = 16;
|
||||
public static int AbsoluteMaxPasswordLength { get; } = 128;
|
||||
|
||||
public static (string Hash, string Salt) HashPassword(string password)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user