What's new

Help Password Generator

polka

Honorary Poster
Established
Joined
Jul 29, 2016
Posts
384
Solutions
1
Reaction
308
Points
222
Age
29
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


Gusto ko sana ilagay dito
1712212836244.png
 

Attachments

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!
 
Aaah javascript lang pala, pasa mo lang yung input value ng [prefix] gamit variables tas e dagdag mo sa password.

password+variable = passvariable
 

Similar threads

Back
Top