Password Generator
Cryptos100 (53)

This Repl is the most efficient password generator that is designed to help you stay protected online.

What does it do?

It generates a password from 16 to 32 characters long, depends on your wish.

32 characters is the most protective password that is designed to drop the percentages of you getting hacked by 60!

Though, 16 is half of the percentage of 32 characters, it is still designed to keep you safe. However, this will take half the time for you password to get cracked.

Stay safe online, friends!

P.S. please upvote :)

You are viewing a single comment. View All
Lethdev2019 (58)

simplify the code by using:

password = ''
for i in range(0, 32):
    password = password + random.choice((chars))

print("Your generated password is: "+password)

that is for generating a 32 letter character

password = ''
for i in range(0, 16):
    password = password + random.choice((chars))

print("Your generated password is: "+password)

that is for generating 16 letter passwords.

otherwise, it is generally good.

Cryptos100 (53)

@Lethdev2019 Could've done that too lol.

Lethdev2019 (58)

yeah, you could also do this:

letters = int(input('how long do you want your passwords? | '))
password = ''
for i in range(0, letters):
    password = password + random.choice((chars))

print("Your generated password is: "+password)

:D
@old4trix

Cryptos100 (53)

@Lethdev2019 Yeah, that's good. I might do that as an option.

Cryptos100 (53)

@Lethdev2019 Slight error, it repeats the same thing but adds another random character per range.

Lethdev2019 (58)

you indented the print statement into the loop. try unindenting the print command. @old4trix

TheMemeManHimse (53)

@Lethdev2019 hey how do you you use syntax highlighting?

Cryptos100 (53)

@Lethdev2019 Oh whoops. Works now. Thanks.

TheMemeManHimse (53)

instead of it being like

print("hello world")
``` have it highlighted like you did, @old4trix 
TheMemeManHimse (53)

whoops i mean intead of it being like
print("hello world")

Lethdev2019 (58)

oh it's markdown.
it goes three back-ticks, language name eg. js or python then three back ticks to close it.

like so:

becomes

for i in range(1,5):
   print ('hey')

@TheMemeManHimse

TheMemeManHimse (53)

or like

print("hello world")
TheMemeManHimse (53)

maybe like

const idk
var something = 10
Cryptos100 (53)

@TheMemeManHimse So, do you mean...

print("hello world")
Lethdev2019 (58)

just put this into markdown
but of course replace "code" with your code and "language" with the programming language you use for it.

@TheMemeManHimse

Lethdev2019 (58)

there you go. @TheMemeManHimse

print("hello!")
Cryptos100 (53)

@Lethdev2019 Bruh, I thought you were talking to me lol

TheMemeManHimse (53)

@Lethdev2019 lol oops

<h1>does this work too?</h1>