Skip to content
← Back to Community
Password Generator
Profile icon
[deleted]

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

Voters
Profile icon
AliWaseem
Profile icon
Axorax
Profile icon
SanJoseCoderSch
Profile icon
eshwarb
Profile icon
iainbds
Profile icon
noobprogrammer8
Profile icon
Aatmik
Profile icon
SVG
Profile icon
19909
Profile icon
19869KUNTHEEYON
Comments
hotnewtop
Profile icon
studentAlfredAl

Rip its returning an error right now

Profile icon
[deleted]

@studentAlfredAl All fixed.

Profile icon
studentAlfredAl

Yay! It's great! :D @old4trix

Profile icon
Andi_Chin

you should replace some code with loops

Profile icon
[deleted]

@Andi_Chin Good idea. I might make it be a looped terminal instead of it just stopping after it generated a password.

Profile icon
AnthonyYunLi

This is really cool!

however, on line 34 it says "Your generated 16 characters password is:" and not 34

Profile icon
[deleted]

@AnthonyYunLi Thanks, perfectly works. What's wrong with it?

Profile icon
AnthonyYunLi

@old4trix In your chars32 function, it says "16" characters when it should be 32

Profile icon
DynamicSquid

Cool! Just a tip:

def chars(num): password = '' for i in range(0, num): password = password + random.choice((chars)) print("Your generated " + num + " characters password is: "+ password)

You can combine the 2 functions into one.

You can also ditch the char list and have a string instead:

chars = "abcdefghijklmnopqrstuvwxyz" # still access it like a normal list print(chars[0])
Profile icon
[deleted]

@DynamicSquid Oh, that's really nice!

Profile icon
dilshaan

Your generated password is: I
Your generated password is: I.
Your generated password is: I.o
Your generated password is: I.o8
Your generated password is: I.o8U
Your generated password is: I.o8Ub
Your generated password is: I.o8UbL
Your generated password is: I.o8UbL$
Your generated password is: I.o8UbL$L
Your generated password is: I.o8UbL$L_
Your generated password is: I.o8UbL$L_y
Your generated password is: I.o8UbL$L_y_
Your generated password is: I.o8UbL$L_y_K
Your generated password is: I.o8UbL$L_y_K5
Your generated password is: I.o8UbL$L_y_K5£
Your generated password is: I.o8UbL$L_y_K5£A
Your generated password is: I.o8UbL$L_y_K5£AP
Your generated password is: I.o8UbL$L_y_K5£APU
Your generated password is: I.o8UbL$L_y_K5£APU~
Your generated password is: I.o8UbL$L_y_K5£APUy
Your generated password is: I.o8UbL$L_y_K5£APU
yy
Your generated password is: I.o8UbL$L_y_K5£APUyyP
Your generated password is: I.o8UbL$L_y_K5£APU
yyPP
Your generated password is: I.o8UbL$L_y_K5£APUyyPPd
Your generated password is: I.o8UbL$L_y_K5£APU
yyPPdX
Your generated password is: I.o8UbL$L_y_K5£APUyyPPdXU
Your generated password is: I.o8UbL$L_y_K5£APU
yyPPdXU1
Your generated password is: I.o8UbL$L_y_K5£APUyyPPdXU10
Your generated password is: I.o8UbL$L_y_K5£APU
yyPPdXU10M
Your generated password is: I.o8UbL$L_y_K5£APU~yyPPdXU10M/
^CTraceback (most recent call last):

That is my password.

Profile icon
[deleted]

@dilshaan Very nice. Lol, just kidding. It got fixed.

Profile icon
dabs364

@old4trix @dilshaan If its your password....

WHY ARE YOU SHOWING IT???

Profile icon
[deleted]

@dabs364

REEE! IT'S CALLED A TEST!

Profile icon
dabs364

@old4trix

OOOPSSSSSSSSSSSSSSSSSSSSSS THEN....

Profile icon
DSAMaximilian

umm maybe a simple password would be nice anyway i should go to sleep soon its 0:10am where I'm at

Profile icon
[deleted]

@DSAMaximilian Haha, the more random it is, the more protected it is.

Profile icon
StringentDev

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.

Profile icon
[deleted]

@Lethdev2019 Could've done that too lol.

Profile icon
StringentDev

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

Profile icon
[deleted]

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

Profile icon
[deleted]

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

Profile icon
StringentDev

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

Profile icon
MemeManHimself

@Lethdev2019 hey how do you you use syntax highlighting?

Profile icon
[deleted]

@Lethdev2019 Oh whoops. Works now. Thanks.

Profile icon
[deleted]

@TheMemeManHimse What do you mean?

Profile icon
MemeManHimself

instead of it being like

print("hello world") ``` have it highlighted like you did, @old4trix
Profile icon
MemeManHimself

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

Profile icon
StringentDev

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

like so:

image

becomes

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

@TheMemeManHimse

Profile icon
MemeManHimself

or like

print("hello world")
Profile icon
MemeManHimself

maybe like

const idk var something = 10
Profile icon
MemeManHimself
Profile icon
[deleted]

@TheMemeManHimse So, do you mean...

print("hello world")
Profile icon
[deleted]
Profile icon
StringentDev

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

@TheMemeManHimse

Profile icon
StringentDev

there you go. @TheMemeManHimse

print("hello!")
Profile icon
StringentDev

yes that is correct. @old4trix

Profile icon
[deleted]

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

Profile icon
[deleted]

very epic @Lethdev2019

Profile icon
MemeManHimself

@Lethdev2019 lol oops

<h1>does this work too?</h1>
Profile icon
MemeManHimself
Profile icon
MemeManHimself

@old4trix @Lethdev2019 sorry for confusing yall

Profile icon
DSAMaximilian

VERY GOOD but i dont think i would remember my passcode

Profile icon
[deleted]

@DSAMaximilian Haha! I might create a password saver just for you!!! :D

Profile icon
StringentDev

challenge accepted! @old4trix

Profile icon
[deleted]

Haha @Lethdev2019, let's talk on the discord repl. I got an idea.

Profile icon
[deleted]

@Lethdev2019 Username is ZinX#1337

Profile icon
StringentDev

haha don't have discord.
i have a github orginisation [email protected]

Profile icon
[deleted]

@Lethdev2019 Oof! Alright. Wanna work on a git clone but for Replit?

Profile icon
StringentDev

yeah, we'll do it on repl.it, i'll design a GUI as i have the right tools. @old4trix

Profile icon
[deleted]

@Lethdev2019 Alright, sorry for the late message. What's the project called?

Profile icon
StringentDev

oh i thought it was the password thing we were working on. @old4trix

Profile icon
[deleted]

@Lethdev2019 Haha! Up to you

Profile icon
StringentDev

well... i have my hand full rn... i'll see what i can do. @old4trix

Profile icon
[deleted]

@Lethdev2019 It's all good. Not really neccessary :)

Profile icon
StringentDev

i know. A screen recorder. @old4trix

Profile icon
StringentDev

@old4trix if you have a windows computer, you can just download it, run pip install mss screen_recorder_sdk pyqt5 opencv-python
and then just run it. will you be able to help me improve it (you were only online for 30 mins).

Profile icon
[deleted]

@Lethdev2019 Sorry! I wish I could help during this time, I had to go outside. Yes, I will try to help you. Alright.

Profile icon
StringentDev

alright i'm online. @old4trix

Profile icon
[deleted]

@Lethdev2019 EEEE! I can't wake up at 8am ;(

Profile icon
StringentDev

are you online?
btw, i can wake up at 6am - it is part of my body clock @old4trix

Profile icon
[deleted]

Cool, I like it.

Profile icon
[deleted]

@GoofyGus Thanks!

Profile icon
[deleted]
Profile icon
adhityanadathur

wow i might use this for real world situations!

Profile icon
[deleted]

@adhityanadathur Yeah! Good to use this, am I right?

Profile icon
Leroy01010

good

Profile icon
lthon09

pretty good project

Profile icon
[deleted]

@lthon09 Thanks!

Profile icon
zplusfour

Nice

Profile icon
[deleted]

@ZDev1 Haha, thanks!

Profile icon
zplusfour
Profile icon
nerd-exe

I made a JavaScript version of it... sorry

Profile icon
[deleted]

@GarryHo Very epic! People made one in C# too.

Profile icon
CodeLongAndPros

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

Here. You say it is the most efficient and yet it time.sleep(1)s for 'effect'

You also say 'hacked', when the correct term is 'cracked'.

I am a hacker. That is to say, I enjoy playing with computers — working with, learning about, and writing clever computer programs. I am not a cracker; I don't make a practice of breaking computer security.

There's nothing shameful about the hacking I do. But when I tell people I am a hacker, people think I'm admitting something naughty — because people misuse the word “hacker”, giving the impression that it means “security breaker” and nothing else.

If it sounds like I'm being 'toxic', I'm not trying to, but you just hit two of my pet peeves.

Profile icon
HahaYes

@CodeLongAndPros yes, they should read your "the media portrayal of linux"

Profile icon
CodeLongAndPros
Profile icon
[deleted]

@CodeLongAndPros very epic way to expose me ;(

Profile icon
[deleted]

@CodeLongAndPros says "hacker". aint hackers supposed to reveal themselves o_O

Profile icon
[deleted]

@CodeLongAndPros Yes, yes. But I'm trying to explain to people who have no big brain like you.

Profile icon
HahaYes

@CodeLongAndPros yeah, anyways, I tried out Manjaro KDE, its awesome. Never would've gotten into linux if it weren't for you

Profile icon
CodeLongAndPros

@old4trix Still.
In that case, objection #2 is not valid, but #1 is.

Profile icon
[deleted]
Profile icon
CodeLongAndPros

@HahaYes Glad to help!

Super+. & alt-. is something to try in Kde.

Profile icon
HahaYes

@CodeLongAndPros huh lemme go do that

Profile icon
AashnaSharma28

Cool

Profile icon
[deleted]
Profile icon
MachineLearner1

This is so cool! You are so talented. Maybe next time, you can set up a system for the passwords to contain real words. Otherwise, great!

Profile icon
[deleted]

@MachineLearner1 Thank you <3

Profile icon
MemeManHimself

This is pretty cool!! I think that I'ma stick with Lastpass, but if I didn't have that, I would definitely use this!

Profile icon
[deleted]

@TheMemeManHimse Haha, thanks!

Profile icon
dilshaan

@old4trix If you want to check out my codes, you can do it by going onto my profile picture and clicking it. I hope you like them.

Profile icon
MemeManHimself
Profile icon
[deleted]

@dilshaan Yes, I know. Wow, you're so experienced!

Profile icon
dilshaan

@old4trix Thank You!!!

Profile icon
StringentDev

)8~IVA6kkPkODUvwFePvJpJi.E3.2uf-U)0ydSAEz.$yGuGUay3D3lVssG)9bAk5DiOHxCmJM9PlxTjmaS/1WHOFAe8ZWJ.HpdYCM5NFKnSg.~#L_,_E!/cMUK1geiVr"!XA54956fAc"0tx)"CZEZ5#fT5wwZQB.L9yT4C%ICxYqW/perH9mpM?VC_£TViT.jwmi%jPpnqTBaYxvj"qkF.#wzFLLjoefzgSRml-CgjEA,b_OM2LJ#s3/£a6qVD-zqj£dJ"Z!h0H!o_!$O_zSIl?G"rw09qa9hs£n60Q£_1xJeBrvm7xHFk"7bNA6BQ.cbiERa8s#ApykZf5#YXicVT0ck,£6aM9WXZ(CB-Y"DcJ-x$KT,ddZN""V316q(u1cIyHFSUeABtR4tGbdtFB~gRd7GnD%pX?.la~MJR)h(qm%5Gd8BINaXzl5EU%.aG7s.z?tl_U2Fw.7£a!HWuaj?-eXDGS"hj(~IXI£xN£E6o0!jHx?)x)mtZuqvdpTK_(B4anLkOwC~wVaiVAzfIRu££yVxpekqCKNDU£ag#k#tlIn3S0D.rPcfvLh0JcssSNVeAmR.W(3mSOVJdg£jg,x,GjqunnhOH)..$?2CvuCzI2FtJW4fpg,UbW/Z0£S-)_SGGBV.hTy.5G5S7LfE)~G($56xPtIWTml$03X.afzk61acxtAHdT)U?79ES-.10TPQoPr.l?%tQQq4Qqu/ViXgmQf~V"5vD2/bRevHu%gl.#MhmnHM1DhgKq£U!~fGDm2.0b,waU_W./Xd-TvFkQ£s_HX4kP~yEL£k-O?JaaMC6V0)1knNQe#w!U0D?hRDRAPIdBWPSQ,e9Mw.53au)Yv6j1C0i.$q.£sfQxUVzj8H0s%(Zden/f9daSVl$S

one big password

Profile icon
[deleted]

@Lethdev2019, wow. Good luck for a hacker to hack anyone with that password :D

Profile icon
[deleted]

@old4trix Honestly it would take a huge amount of time, but you could bruteforce it. Also nice password :D

Profile icon
[deleted]

@eekboi Yes. Thanks.

Profile icon
DSAMaximilian

wait my random [Spam removed by moderator]

Profile icon
[deleted]

@DSAMaximilian Please don't spam in your comments.

Profile icon
[deleted]

@eekboi Thanks.

Profile icon
DSAMaximilian

[Spam removed by moderator]

Profile icon
[deleted]

@DSAMaximilian Please don't spam in your comments.

Profile icon
DSAMaximilian

@eekboi bruh

Profile icon
[deleted]

@DSAMaximilian Sorry man, moderators gotta do what they gotta do.

Profile icon
[deleted]

WATT YOUR A MODERAYTOTRTRR! OMGFG
@eekboi

Profile icon
DSAMaximilian

#FISH FOR LIFE P.S. YOU PROBALLY WONT UNDER STAND BECAUSE ITS IN FORTNITE

Profile icon
[deleted]

@DSAMaximilian Yes I do lol

Profile icon
DSAMaximilian

:/ WWWHHHHHHYYYYYYYYY

Profile icon
[deleted]
Profile icon
ChezTacoz

I been bamboozled

errors

errors2

Profile icon
[deleted]
Profile icon
[deleted]

@ChezTacoz All fixed c:

Profile icon
ChezTacoz
Profile icon
ZionAjayi

This file cannot be displayed:

Profile icon
adl212

Your chars32 function prints out that Your generated 16 characters password is: + password.

Profile icon
[deleted]

@adl212 Doesn't show for me :/

Profile icon
adl212

@old4trix This is your chars32 functions:

def chars32(): password = '' for i in range(0, 32): password = password + random.choice((chars)) print("Your generated 16 characters password is: "+password)
Profile icon
[deleted]

@adl212 Yes? It will add that text and the "password" that has been generated.

Profile icon
potatojs

do you give me the permition to make a better version of this?
plz

Profile icon
[deleted]

@potatojs Obviously!

Profile icon
potatojs

thanks! :)@old4trix

Profile icon
[deleted]

@potatojs No problemo :)

Profile icon
nerd-exe

Hmmmm yes

Profile icon
3DKTH3PR0

Uh, I'm not gonna use this bc the passwords are too hard to remember

Profile icon
[deleted]

@3DKTH3PR0 Then get a password saver :laughing_emoji: :(

Profile icon
3DKTH3PR0

@old4trix Nah btw I'm making a Username randomizer!!!

Profile icon
adl212

When I type 2 to get a 32 character long password, I get a 16 letter long password. When I type 1 to get a 16 character long password, I get a 32 letter long password.