Skip to content

Vedantzope-08/PasswordManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PasswordGenerator

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.

Libraries

iostream
windows.h
mysql.h
sstream
string
cstdlib
ctime
cctype

Important Functions

shuffleString


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.

ensureCapitalLetter


Checks if the password contains at least one capital letter and inserts one if missing.

ensureSymbol


Ensures the presence of at least one special symbol in the password, adding one if absent.

main


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

About

The program generates secure, randomized passwords from user inputs (first name, last name, and birth year) with added rules for length, capital letters, and symbols. It allows users to regenerate or save passwords to a MySQL database, ensuring secure storage and user-friendly interaction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages