or simply not using srand, since the default seed now is something better than time().srand( (time() ^ ($$ + ($$ << 15)) );
or better yet, replace the for loop with:$random=join("", 'a'..'z','A'..'Z','0'..'9','.','/');
@r=('a'..'z','A'..'Z','0'..'9','.','/'); $salt=$r[rand(@r)].$r[rand(@r)];
In reply to RE: crypted form
by ZZamboni
in thread crypted form
by perlvert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |