Skip to content

[FEATURE] Create Password Strength Validator #25

@rubemfsv

Description

@rubemfsv

Description

Ensures that a password meets certain strength criteria, such as minimum length, use of uppercase letters, numbers, and special characters.

Expected Behavior

The Password Strength Validator should evaluate the strength of a provided password based on predefined criteria, including:

  1. Length Check: Verify that the password meets or exceeds a specified minimum length.
  2. Character Types: Assess the presence of different character types, such as uppercase letters, lowercase letters, numbers, and special characters.
  3. Complexity Rules: Apply additional rules or policies, such as not allowing commonly used passwords, dictionary words, or sequential patterns (e.g., "12345" or "password").
  4. Strength Rating: Assign a strength rating to the password (e.g., weak, medium, strong) based on its compliance with the above criteria. (plus)
  5. Provide Feedback: Offer clear feedback or suggestions on how the user can improve their password to meet stronger security standards. (plus)

This behavior ensures that the Password Strength Validator helps users create secure and robust passwords that meet the system's security requirements. It encourages the use of strong passwords, ultimately enhancing the security of user accounts and sensitive data.

Additional Information

Consider implementing this validator along with a corresponding unit test in the "validators" directory, alongside the existing validators.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions