Just thought I'd share this little gem with you.
faced with having to create a whole load of new accounts at work we thought it'd be a good idea to download a password generator, I thought it'd be a good idea to make one...
so here it is the 88byte password generator, (in vb script).
I think it's actually impossibly to create one that is smaller, (without restricting the characters...
it only allows characters that you could actually type...
change the first line l=?? to change the length of the password generated
actually got it down to 77 bytes now.
faced with having to create a whole load of new accounts at work we thought it'd be a good idea to download a password generator, I thought it'd be a good idea to make one...
so here it is the 88byte password generator, (in vb script).
I think it's actually impossibly to create one that is smaller, (without restricting the characters...
it only allows characters that you could actually type...
Code:
l=8
while x<l
x=x+1
Randomize()
c=Int((122-49)*Rnd()+48)
p=p&Chr(c)
wend
msgbox p
actually got it down to 77 bytes now.
Code:
while x<8
x=x+1
Randomize()
c=Int(73*Rnd()+48)
p=p&Chr(c)
wend
msgbox p