python1micro
python1micro
3.Proposed Methodology 1
4. Action Plan 2
5. Resources Required 2
1.Rationale 3
4. Literature Review 4
2
5.Actual Methodology Followed 4
5.1 Algorithm 4
Annexure I
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:
5. Resources Required:
Sr.
No. Name of resource / material Specification Quantity Remarks
4 Browser Chrome 1
2
Names of Team Member with Roll No.:
Sr.
No. Enrollment No. Name of Team Member Roll No.
Mr. Osmani F W
3
Annexure – II
Micro-Project Report
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.
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.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.
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:
Password = generate_password(length,
use_uppercase, use_digits, use_special_chars)
If password:
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:
1.Security Enhancement.
2.Integration with Other Applications.
3.Customization and Control.
*********