N
NoName
Perl:
@char=("A".."Z","a".."z",0..9);
do{print join("",@char[map{rand @char}(1..8)])}while(<>);
!!generate passwords untill U press ctrl-z
Python (from CookBook):
from random import choice
import string
print ''.join([choice(string.letters+string.digits) for i in
range(1,8)])
!!generate password once
who can write this smaller or without 'import'?
@char=("A".."Z","a".."z",0..9);
do{print join("",@char[map{rand @char}(1..8)])}while(<>);
!!generate passwords untill U press ctrl-z
Python (from CookBook):
from random import choice
import string
print ''.join([choice(string.letters+string.digits) for i in
range(1,8)])
!!generate password once
who can write this smaller or without 'import'?