Header Ads

Password Generator Using Python

Password generators are not a new concept. However, with the rise of hacking and data breaches, password generators are becoming more important to protect our data.
Password Generator Using Python
There are many different types of password generators that can be used to create passwords. One such type is a Python-based generator that uses the user's input and then applies it to a formula in order to generate the password. This type of generator is useful because it allows for customization and creativity in the passwords generated.
import random
import string
LETTERS = string.ascii_letters
NUMS = '0123456789'
SPE = '-+*%$#@!~'
SYMBOLS = LETTERS + NUMS + SPE
len =(int(input("ENTER PASS.LENGTH:"))
password = ".join(random.sample(SYMBOLS, len))
print(password)

No comments:

Powered by Blogger.