in reply to Re^2: Random Password Generator
in thread Random Password Generator

Or even simpler:

@chr = (0..9,'A'..'Z','a'..'z'); print @chr[rand @chr] for 1..9;

but you don't get anymore the 3-3-3 pattern, which IMHO, isn't a big deal anyway.

Replies are listed 'Best First'.
Re^4: Random Password Generator
by adrianh (Chancellor) on Jul 02, 2005 at 00:24 UTC
    but you don't get anymore the 3-3-3 pattern, which IMHO, isn't a big deal anyway.

    Depending on what you're using the passwords for it could be a big deal since the 3-3-3 pattern dramatically reduces the space of possible passwords, making a brute force attack more feasible.

    Restricting the format of passwords is almost always a bad idea security wise.