A simple Java program for generating random passwords with various character sets.
The Password Generator is a Java program that generates random passwords based on your requirements. It allows you to specify the length of the password and includes a mix of uppercase letters, lowercase letters, numbers, and special characters to enhance security.
- Generate random passwords with specified length.
- Includes a mix of uppercase letters, lowercase letters, numbers, and special characters.
- Option to customize the password length.
To generate a password, simply run the PasswordGenerator
class. It will prompt you to enter the desired password length, and then it will display the generated password.
java com.example.myapp.utilities.PasswordGenerator
-
Clone this repository to your local machine.
-
Make sure you have Java installed.
-
Navigate to the project directory.
-
Compile the
PasswordGenerator
class:javac com/example/myapp/utilities/PasswordGenerator.java
-
Run the program:
java com.example.myapp.utilities.PasswordGenerator
-
Follow the on-screen instructions to generate a password.
This project is licensed under the MIT License. See the LICENSE file for details.