in reply to RE: RE: Create encrypted passwords
in thread Create encrypted passwords

What if you want to expand the valid characters someday?
@chars=(a..z,A..Z,0..9,'.','/'); $salt= join '', @chars[rand(@chars), rand(@chars)];
or even
my $elem = @chars; $salt = join '', @chars[rand($elem), rand($elem)];