The program is a robust password generator designed to create strong and secure passwords by taking user inputs such as first name, last name, and birth year. It enhances password security by ensuring specific criteria are met, including a minimum length of 8 characters, the inclusion of at least one capital letter, and the addition of special symbols. The passwords are randomized using a shuffle function to prevent predictable patterns.
Users have the option to regenerate the password if unsatisfied or save it to a MySQL database, which securely stores the passwords along with the user's details. The program utilizes SQL queries to insert data into the database and provides feedback on successful or failed storage operations. It also incorporates platform-specific commands to clear the console for better user interaction during the regeneration process.
iostream
windows.h
mysql.h
sstream
string
cstdlib
ctime
cctype
Randomizes the order of characters in a given string to enhance unpredictability. ensureLength
Ensures the password is at least 8 characters long by adding random special symbols if necessary.
Checks if the password contains at least one capital letter and inserts one if missing.
Ensures the presence of at least one special symbol in the password, adding one if absent.
Handles user input, generates passwords, integrates MySQL for saving passwords, and provides an option for regeneration or saving the password.
Link for Reference
link Randomizer:- https://www.geeksforgeeks.org/rand-and-srand-in-ccpp/
link for SQL Setup :- https://youtu.be/3v_lA1Gg1Q4?feature=shared