0% found this document useful (0 votes)
34 views11 pages

Cs Project Aswin

Uploaded by

Devi. S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views11 pages

Cs Project Aswin

Uploaded by

Devi. S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

INTRODUCTION :

ABOUT PASSWORD:
A password is a string of characters used to verify
the identity of a user during the authentication process.
Passwords are typically used in tandem with a username; they
are designed to be known only to the user and allow that user
to gain access to a device, application or website.

RANDOM GENERATOR TOOL:


Random password generator is to produce random
password with high security. Generally, random passwords
have various benefits over user-chosen password where it
enhances security and confidentiality. The new methodology
has been created to generate random password which consists
of both upper- & lower-case letter and digits from 0 to 9, with
fixed length. The alphanumeric is a simple algorithm that
generates random password with predetermined length. The
password generator algorithm selects a random character form
random character list and forms the password, which is
combination of numbers, lower & upper-case letters.
HARDWARE_AND_SOFTWARE:

Edition: Windows 10 Pro


Version: 22H2
Installed on: 28-08-2023
OS build: 19045.4046
Experience: Windows Feature Experience Pack
1000.19053.1000.0
Device name: DESKTOP-5CTQO82
Processor : Intel(R) Pentium(R) CPU G3240 @ 3.10GHz
Installed RAM: 8.00 GB (7.89 GB usable)
System type: 64-bit operating system, x64-based processor
Keyboard & Mouse: Dell Wireless Device (Keyboard, Mouse)
Pen and touch: No pen or touch input is available for this
display.
WORKING_ENVIRONMENT :

PYTHON:
Python is a popular programming language. It was created by
Guido van Rossum, and released in 1991.

IT IS USED FOR:
web development (server-side),
software development,
mathematics,
system scripting.
WHAT CAN PYTHON DO?
Python can be used on a server to create web applications.
Python can be used alongside software to create workflows.
Python can connect to database systems. It can also read and
modify files.
Python can be used to handle big data and perform complex
mathematics.
Python can be used for rapid prototyping, or for production-
ready software development.
WHY PYTHON?
Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
Python has a simple syntax similar to the English language.
Python has syntax that allows developers to write programs
with fewer lines than some other programming languages.
Python runs on an interpreter system, meaning that code can
be executed as soon as it is written. This means that
prototyping can be very quick.
Python can be treated in a procedural way, an object-oriented
way or a functional way.
Good to know…..
DESIGN_WORK:
SYSTEM_DEVELOPEMENT_LIFE_
CYCLE:
SOURC_ECODE:

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:
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

if __name__ == "__main__":
main()
OUTPUT:

Figure 1
CONCLUSION:

The password generated using combination of uppercase


letters, lowercase letters, numbers, and symbols random
password mechanism that was illustrated above is practical
and can be used with great results. When the password is
selected manually, most of the time, the users select the
password that are related to himself or herself and related to
any of the event. This gives the space for the intruders to
deploy various attacks in breaking the passwords. The random
generated passwords avoid this particular situation. One of the
drawbacks could be the difficulty in memorizing the randomly
generated password. But when comparing the security
achieved through the randomly generated password, it is
much preferable than the manually chosen password. The
encryption and decryption standard provided here also
strengthens the security measures. Since, the encryption and
decryption standards are simple, it is costeffective. The above
done work also creates awareness and interest to start
exploring this field more.
BIBLIOGRAPHY:

https://www.101computing.net/random-password-generator/
https://www.w3schools.com/python/python_intro.asp

https://www.tutorialspoint.com/system_analysis_and_design/i
mages/sdlc_phases.jpg
Computer Science with python Textbook for Class 11 By Sumita Arora
(2023-24)

You might also like