Hello mga boss, ask ko lang kung may password generator kayo na pwedeng maglagay ng customize words. Example is
HELLO_passgeneratordito so parang ganto sya HELLO_#7n#1!OUiD8g
Hello! Yes, you can create a custom password generator that incorporates specific words like "HELLO" into the generated passwords. Here's a simple Python script that you can use to achieve this:
Python:
import random
import string
def generate_password(custom_word):
special_chars = '!@#$%^&*()_+=-'
password = custom_word + '_'
for i in range(5):
password += random.choice(string.ascii_letters)
password += random.choice(string.digits)
password += random.choice(special_chars)
return password
custom_word = 'HELLO'
password = generate_password(custom_word)
print(password)
In this script, we define a function generate_password(custom_word) that takes a custom word as input and generates a password by combining the custom word with random letters, digits, and special characters. You can customize the length and composition of the generated passwords by modifying the loop in the function.
You can run this script in a Python environment to generate passwords with the format you specified. Feel free to adjust the script further to match your specific requirements!