Index
Sr. No. Contents Page No.
Annexure I– Micro Project Proposal 1-2
1.Aims/Benefits of the Micro-Project 1
2. Course Outcome Addressed 1
1
3.Proposed Methodology 1
4. Action Plan 2
5. Resources Required 2
6. Name of Team Member with Roll No. 2
Annexure II – Micro Project Report 3-40
1.Rationale 3
2.Aims/Benefits of the Micro-Project 3
3.Course Outcome Achieved 3
4. Literature Review 4
2
5.Actual Methodology Followed 4
5.1 Algorithm 4
5.3 Source Code 6-37
6.Actual Resources Used 37
7.Outputs of Micro-Projects 37-39
8. Skill developed / Learning out of this Micro-Project 40
Annexure I
Micro Project Proposal
Password Generator Using Python
1. Aims/Benefits of the Micro-Project: The
main aims of the system are:
• To provide the security to your account me
• To provide the security to your phones.
• To provide the security from the cyber attackers.
2. Course Outcome Addressed:
1. Display message on screen Using Python script ide.
2. Develop python program to demonstrate use of operator.
3. Perform operation on data structure
4. Develop functions for given problem.
5. Design classes for given problem.
6. Handle exception.
3. Proposed Methodology:
A Python password generator typically uses the random and string modules to create strong,
random passwords. It involves defining a character set, generating a password of a specified length by
randomly selecting characters from the set, and optionally shuffling the characters for added security.
A Python password generator typically employs a methodology of randomly selecting characters from
predefined sets (letters, numbers, symbols) based on user-specified length and complexity
requirements, ensuring strong, unpredictable passwords.
1
4. Action Plan:
S Details of Activity Planned Planne Name of Team
r. Start date d Finish Members
N date
o.
Search the topic 09/01/2025 23/01/2025
1
3:30pm – 4:30pm 3:30pm – 4:30pm
Choosing the topic and 23/01/2025 30/01/2025
2 3:30pm – 4:30pm
search 3:30pm – 4:30pm
Plan the overall structure 30/01/2025 06/02/2025
3 3:30pm – 4:30pm
and design 3:30pm – 4:30pm Gadve Shradhda
Implementing the code Shahaji
06/02/2025 13/02/2025
4
3:30pm – 4:30pm 3:30pm – 4:30pm
Salunke Prerna
Integrating with database 13/02/2025 20/02/2025 Nilkanth
5 3:30pm – 4:30pm
3:30pm – 4:30pm
Testing the project 20/02/2025 06/03/2025
6 3:30pm – 4:30pm
3:30pm – 4:30pm
Debugging 06/03/2025 20/03/2025
7 3:30pm – 4:30pm
3:30pm – 4:30pm
Finalizing project with its 20/03/2025 20/03/2025
8
report 3:30pm – 4:30pm 3:30pm – 4:30pm
5. Resources Required:
Sr.
No. Name of resource / material Specification Quantity Remarks
1 Computer WINDOWS 7,2GB RAM, 1
160GB HDD
2 Operating System WINDOWS 7 1
3 Compiler Sublime Text 1
4 Browser Chrome 1
2
Names of Team Member with Roll No.:
Sr.
No. Enrollment No. Name of Team Member Roll No.
1 2210950128 Gadve Shradhda Shahaji 23
2 2210950107 Salunke Prerna Nilkanth 03
Mr. Osmani F W
Name and Signature of the Teacher
3
Annexure – II
Micro-Project Report
Password Generator Using Python
1. Rationale:
The rationale behind a Python password generator is to automate the creation of strong, random, and unique passwords,
enhancing online security by making passwords difficult to guess or crack. Password generators help users create
passwords that are more difficult for hackers to guess or crack compared to passwords that people might
choose themselves. Password generators use algorithms to generate passwords with a high degree of
randomness, ensuring that each character in the password is chosen randomly from a set of possible
characters.Password generators can be configured to include a mix of uppercase and lowercase letters,
numbers, and symbols, making the passwords more complex and robust.
2. Aims/Benefits of the Micro-Project:
The main aims of the system are:
• Protection of online accounts.
• Protection of your mobile phone.
• Protection of your secured data.
• Protect your accounts from cyber
attacks like credential stuffing.
3. Course Outcomes Achieved:
1. Develop functions for given problem .
2. Design classes for given problem.
3. Handle exception.
4. Develop python program to demonstrate the use of python programs.
4. Literature Review:
A password generators reveals that they are valuable tools for generating strong, unique passwords,
leveraging Python’s random and string libraries for character selection and password length
customization. These generators are often designed to include uppercase letters, lowercase letters,
digits, and punctuation for enhanced security. Password generators in Python explores the topic of
4
password generation techniques, focusing on Python implementations, their security implications,
and various algorithms used for generating strong, random passwords.
5. Actual Methodology Followed:
5.1 Algorithm:
1. Start.
2. Set the length of the password
3. Set upper case condition enter or not in password.
4. Set the digit condition enter or not in password.
5. Set the special symbol condition enter or not in password. 6. End.
5.2 Source Code:
1.main.py
Import random
Import string
Def generate_password(length,
use_uppercase, use_digits, use_special_chars):
Characters = string.ascii_lowercase
If use_uppercase:
Characters += string.ascii_uppercase
If use_digits:
Characters += string.digits
If use_special_chars:
Characters += string.punctuation
If len(characters) == 0:
5
Print(“Error: No character types selected.
Please enable at least one option.”)
Return None
Password = ‘’.join(random.choice(characters)
for _ in range(length))
Return password
Def main():
Print(“Password Generator”)
While True:
Length = int(input(“Enter the password
length: “))
Use_uppercase = input(“Include uppercase
letters? (yes/no): “).lower() == “yes”
Use_digits = input(“Include digits?
(yes/no): “).lower() == “yes”
Use_special_chars = input(“Include special
characters? (yes/no): “).lower() ==
“yes”
Password = generate_password(length,
use_uppercase, use_digits, use_special_chars)
If password:
Print(“Generated Password:”, password) Another = input(“Generate another
password? (yes/no): “).lower()
If another != “yes”:
Break
6
If __name__ == “__main__”:
Main()
6. Output:
7
8
7.Skill developed / Learning out of this
a Python password generator by utilizing the random and string modules to produce
strong, random passwords of a specified length, incorporating uppercase, lowercase
letters, numbers, and symbols.
8.conclusion:
Creating a password generator in Python is a straightforward way to enhance online security by
generating strong, randomized passwords, and it’s a valuable skill for any programmer.
The random password generator in Python is a program that will generate strong random passwords of the
specified length using alphabets, numbers, and symbols.
9. Applications of this Micro-Project:
1.Security Enhancement.
2.Integration with Other Applications.
3.Customization and Control.
*********