Files
Walleby/Bitvault/LengthRule.cs
T
2024-06-09 13:10:57 +01:00

9 lines
161 B
C#

namespace Bitvault;
public class LengthRule :
IPasswordRule
{
public int CalculateScore(string password) =>
password.Length >= 8 ? 5 : 0;
}