GitHub - MbalieP/PasswordValidator_Java: A Java implementation of PasswordValidator_Python—ensuring strong password validation with customizable rules.

Overview

PasswordValidator_Java is a Java-based password validation library designed to ensure secure password creation. This implementation is inspired by PasswordValidator_Python and provides customizable rules for enforcing strong password policies.

Features

  • Enforces minimum password length
  • Validates the presence of:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters
  • Efficient password strength checking
  • Easy integration into Java applications

Installation

Clone the repository using:

git clone https://github.com/your-username/PasswordValidator_Java.git
Compile the project:

sh
javac PasswordValidator.java
Usage
Here's an example of how to use the library:

java
public class Main {
    public static void main(String[] args) {
        String password = "Secure@123";
        String result = PasswordValidator.isPasswordSecure(password);
        System.out.println(result);
    }
}
Contributing
Contributions are welcome! Feel free to:

Submit issues for bugs or improvements

Fork the repository and make enhancements

Open pull requests with updates

License
This project is licensed under the MIT License. See LICENSE for details